move the print_r to the top of our script rather than inside the if's
also don't rely on the MAX_FILE_SIZE from the form that is a very easy value for a user to change if they want to.
Scott.
Close the windows and get to know your inner Penguin with Linux
Thanks for your help. But I tried to move Print_R on top of if and still get the same error message after I pressed upload button. Please if you've better concept to solve this problem let me know. Thanks again.
just looking on php.net it says you must have the MAX_FILE_SIZE before the file input this could be causing you the problems?
try moving them around to see what happens.
Scott.
Close the windows and get to know your inner Penguin with Linux
Bookmarks