Difference between revisions of "CSC220 uploadFile2.htm"
(Created page with '--~~~~ ---- __TOC__ <br /> =FileUpload1.htm= <code><pre> </pre></code> =FileUpload1.php= <code><pre> </pre></code> <br /> <br /> <br /> <br /> <br /> <br /> <br /> …') |
(→FileUpload1.htm) |
||
Line 4: | Line 4: | ||
<br /> | <br /> | ||
− | = | + | =FileUpload2.htm= |
+ | (This is the same as [[CSC220 uploadFile1.htm|uploadFile1.htm]].) | ||
+ | |||
<code><pre> | <code><pre> | ||
+ | <html> | ||
+ | <body> | ||
+ | |||
+ | <form enctype ="multipart/form-data" | ||
+ | action ="uploadFile2.php" | ||
+ | method ="POST"> | ||
+ | |||
+ | File name: <input name="uploaded" type="file" /> | ||
+ | | ||
+ | <input type="submit" value="Upload" /> | ||
+ | |||
+ | </form> | ||
+ | |||
+ | </body> | ||
+ | </html> | ||
</pre></code> | </pre></code> | ||
− | |||
=FileUpload1.php= | =FileUpload1.php= |
Revision as of 10:15, 8 November 2010
--D. Thiebaut 15:08, 8 November 2010 (UTC)
Contents
FileUpload2.htm
(This is the same as uploadFile1.htm.)
<html>
<body>
<form enctype ="multipart/form-data"
action ="uploadFile2.php"
method ="POST">
File name: <input name="uploaded" type="file" />
<input type="submit" value="Upload" />
</form>
</body>
</html>
FileUpload1.php