Simple File Upload Form : File Upload « Form « PHP






Simple File Upload Form

 
<html>
<head>
<title>A Simple File Upload Form</title>
</head>
<body>
<form enctype="multipart/form-data"
   action="<?print $_SERVER['PHP_SELF']?>" method="post">
<p>
<input type="hidden" name="MAX_FILE_SIZE" value="102400" />
<input type="file" name="fupload" /><br/>
<input type="submit" value="upload!" />
</p>
</form>
</body>
</html>
  
  








Related examples in the same category

1.File Upload Script
2.File Uploader
3.File Uploading Error Constants in PHP
4.Processing an uploaded file