Re: File upload problem

From: Date: Mon, 06 May 2002 15:57:53 +0000
Subject: Re: File upload problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-96271@lists.php.net to get a copy of this message
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" <fleveque@lavinia.tc> wrote in message 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 fleveque@lavinia.tc ----- Original Message ----- From: Linn Kubler To: php-general@lists.php.net 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

« previous php.general (#96271) next »