JS interesse |
|
ik heb bij tutorials gezien dat ge ook een file kunt verzenden via een formulier, ik heb dit erin gezet deze code
<input type="file" name="veld_naam" />
maar bij mij werkt hij niet, mijn formulier ziet er zo uit
<BODY BGCOLOR="#4C4C4C" TEXT="#000000">
<td width="88%" valign="top">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" bgcolor="#000000">
<div align="center">
<center>
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr>
<td width="81%" bgcolor="#D3D2D2">
<form action="/cgi-bin/form.cgi " method="POST">
<input type="hidden" name="DEBUG" value="0">
<input type="hidden" name="MAILFILE" value="/funteam/jodie/contact/mailfile.txt">
<input type="hidden" name="MAILTO" value="dieter.mellaerts@gmail.com">
<input type="hidden" name="REPLYFAULT" value="/funteam/jodie/contact/contactus.html">
<input type="hidden" name="REPLYOK" value="/funteam/jodie/contact/jstantw.html">
<br>Naam:<input type="text" size="20" name="naam">
<br>Email: <input type="text" size="34" maxlength="60" name="MAILFROM">
<br>Voor: <select name="Type">
<option value="Ons">Ons 2</option>
<option value="Dieter" selected>Webmaster (Dieter)</option>
<option value="Jonathan">Admin (Jonathan)</option>
</select>
<br><input type="file" name="file" >
<br><br><b>Commentaar, vragen, ideeen:</b><br><textarea name="commentaar" rows="10" cols="45"></textarea>
<br><input type="submit" name="B1" value="Verzenden">
<input type="reset" name="B2" value="Wissen">
</form>
</div>
</body>
</html>
</td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</center>
</div>
</td>
<td width="1%" valign="top"> </td>
</tr>
</table>
</center>
</div>
|