Easy Uploader

Directions for use:

1. Change the variables in the script, to suit your needs:

     $uploaddir - This must be the SYSTEM LOCATION of your upload file.  NOT a URL.
     $youremail - Your email address
     $thankspage - The page presented to the person AFTER uploading
     $uptymessage - The thank you message (sent by email to the person who uploaded)
     $ownermessage - The message sent to you to tell you of a new file that has been uploaded.
     $emailmessages - can be set on or off (1 for on, 0 for off)
     
1a. Name the script "upload.php" (no quote marks)

2. Create the upload directory in your webspace

3. Create a form with these form fields:

   <form action="upload.php" method="post" ENCTYPE="multipart/form-data">
   File to upload:<input type="file" size=40 name="file"><br>
   <input type="hidden" name="MAX_FILE_SIZE" value="100000">
   Your Name<input type="text" name="realname"><br>
   Your Email<input type="text" name="email"><br>
   <input type="submit" value="upload">
   </form>

4. Set CHMOD on the upload directory to 777

5. Upload everything and call your form, http://www.your-domain.co.uk/form.htm

That's it!  Easy!

Having problems with this script ?  Check out the dotdragnet Web Builder forum.

http://www.dotdragnet.co.uk
