Hi, I am using the following code to upload file; ------------X------------------- <form enctype="multipart/form-data" action=load.php method=post> <input type=hidden name=MAX_FILE_SIZE value=1000000000> Send the file: <input type=file name=userfile><br> <input type=submit value="Send "> </form> ------------X-------------------
This works fine for small files of like some Kbs but fails to upload larger files near to 1MB. Can any one help me out from this problem my file processing code is:: ------------X----------------------- if(is_uploaded_file($userfile)) { copy($userfile,"./upload/$userfile_name"); echo "Successfully completed the uploading of the file $userfile_name of size $userfile_size<br>"; }else{ echo "some error has occured while uploading the file $userfile_name<br>"; echo "$userfile"; } -------------X------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php