[PHP] Error checking on file upload

2005-08-19 Thread Peppy
I've been working on a script for uploading a file to a Unix server. I'm testing the script and have it coded for error messages using a switch statement. One error that I am getting is case 2 The file is bigger than this form allows and I am wondering what might cause me to get the error for

Re: [PHP] Error checking on file upload

2005-08-19 Thread Steve Slotnick
In your php.ini there are settings for upload_max_filesize and also post_max_size. These would be causes for case 2. More information: http://us3.php.net/features.file-upload On 8/19/05, Peppy [EMAIL PROTECTED] wrote: I've been working on a script for uploading a file to a Unix server. I'm

Re: [PHP] Error checking on file upload

2005-08-19 Thread Steve Slotnick
Sorry, I meant case 1. - Steve On 8/19/05, Steve Slotnick [EMAIL PROTECTED] wrote: In your php.ini there are settings for upload_max_filesize and also post_max_size. These would be causes for case 2. More information: http://us3.php.net/features.file-upload On 8/19/05, Peppy [EMAIL

Re: [PHP] Error checking on file upload

2005-08-19 Thread Peppy
Steve, Thanks a bunch. Must have been dead brain today. I knew that as well as could look it up using phpinfo(). Althea In your php.ini there are settings for upload_max_filesize and also post_max_size. These would be causes for case 2. More information: http://us3.php.net/features.file-upload