PHPBuilder - Best and Easy File Upload Program



RSS Twitter
Snippets Other

Best and Easy File Upload Program

by: James Smith
|
September 13, 2001

Version: 2

Type: Full Script

Category: Other

License: GNU General Public License

Description: I have written this program on linux OS , the directory structure will be different for windows OS , you can configure it as u require, but initially follow the commented documentation for installation and configuration in uploadresp.html read the comments carefully before using it



<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="Author" content="Madhu">
   <meta name="GENERATOR" content="Mozilla/4.75 [en] (Win98; U) [Netscape]">
   <title>upload</title>
</head>
<body>
&lt;html>
<br>&lt;title>Upload Manager&lt;/title>
<br>&lt;body>
<br>&lt;?
<br>&nbsp;&nbsp;&nbsp; // Name this file as upload.php
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;form name='x' enctype='multipart/form-data'
method='post' action='uploadresp.php'>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;table border=1 align=center>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;tr>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;td>&lt;font face='OCR A Extended'>&lt;b>Simple
Image Upload&lt;/b>&lt;/td>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;/tr>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;tr>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;td>&lt;font face='OCR A Extended'>Select
Image&lt;/font>&lt;/td>&lt;td>&lt;input type='file' name='myimage'>&lt;/td>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;/tr>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;tr>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;td>&lt;/td>&lt;td>&lt;input type='submit'
value=upload>&lt;/td>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;/tr>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;/table>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;/font>");
<br>&nbsp;&nbsp;&nbsp;&nbsp; print ("&lt;/form>");
<br>?>
<br>&lt;/body>
<br>&lt;/html>
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
</body>
</html>

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
James Smith

Comment:



Comment:

(Maximum characters: 1200). You have characters left.