Re: File upload problem
| From: | Francesc Leveque | Date: | Mon, 06 May 2002 15:37:08 +0000 |
| Subject: | Re: File upload problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96269@lists.php.net to get a copy of this message | ||
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