D'oh! You're right, I went back and checked php.ini and found upload_max_filesize but it's already set to 200M, I'm assuming that means 200 MegaBytes. So I don't think that's the problem. I don't have the hidden tag set in the page code so that shouldn't be a factor either, right? I'm a real rooky at php programming.
Thanks for your tip, can you think of anything else to look at? Linn "Francesc Leveque" <[EMAIL PROTECTED]> wrote in message 00dd01c1f513$e20fbaf0$3b00a8c0@fleveque">news:00dd01c1f513$e20fbaf0$3b00a8c0@fleveque... I can remember there is an option on the php config file to set the max file size when uploading... I think you can also limit the size with a hidden input on the form... like this: <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="2048000"> the value corresponds to the number of bytes. so this would be for 2 MB.. -------------------------- Francesc Leveque Lavinia TC Passatge Permanyer, 12 08009 Barcelona Tel: 93 272 34 10 [EMAIL PROTECTED] ----- Original Message ----- From: Linn Kubler To: [EMAIL PROTECTED] Sent: Monday, May 06, 2002 5:29 PM Subject: [PHP] File upload problem Hi All, I have a script that uploads files via my browser. Works fine under RedHat 7.0 but on a RH 7.2 server it crashes on files over at least 10MB. Files under 3MB work fine. Any suggestions? I've looked around for a php config file that might specify the max file size but so far have found nothing. Could this be an imcompatibility on RH 7.2? Thanks in advance, Linn -- Please remove the number two from domain name for email. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php