Learning PHP and MySQL

Example 11-24 Prompting to upload a file

<html>
<
head></head>
<
body>
<
form  action="<?=$PHP_SELF?>"  method="post"  enctype="multipart/form-data">
<
br><br>
Choose  a  file  to  upload:<br>
<
input  type="file"  name="upload_file">
<
br>
<
input  type="submit"  name="submit"  value="submit">
</
form>

</
body>
</
html>

Posted by on 08/19 at 08:42 AM

Next entry: Example 11-25 Checking for the existence of an uploaded file

Previous entry: Example 11-23 Renaming a file

<< Back to main