This looks fine except the MAX_FILE_SIZE looks rather small.  I had an issue
with it earlier this week and found that the fileI was trying to upload was
larger than the MAX_FILE_SIZE.  I believe this is measured in bytes, so your
file cannot be larger than 1KB.  Are you getting any errors?

Robbert van Andel 

-----Original Message-----
From: Tweak2x [mailto:Tweak2x@;Carolina.rr.com]
Sent: Friday, November 15, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP] what else do i need in this upload script?


ok, this is upload.php:

<form enctype="multipart/form-data" action="upload.php" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="1000">
Send this file: <input name="userfile" type="file">
<input type="submit" value="Send File">
</form>


what else do i need to make afile upload?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


 "The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers." 


Reply via email to