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