Re[2]: [PHP] Max File Size
| From: | Tom Rogers | Date: | Thu, 05 Dec 2002 05:40:58 +0000 |
| Subject: | Re[2]: [PHP] Max File Size | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127099@lists.php.net to get a copy of this message | ||
Hi,
Thursday, December 5, 2002, 3:09:46 PM, you wrote:
RL> Tom Rogers responded on Wednesday, December 04, 2002 6:11 PM
RL> Hi,
RL> Thursday, December 5, 2002, 11:54:08 AM, you wrote:
RL>> Tom,
RL>> Thanks for your response. If this is so, can you tell me how I check it
RL> out
RL>> and fix things.
RL>> Roger
TR>> Unless you have set it yourself that is probably not the reason.....
TR>> Try setting it like this
TR>> upload_max_filesize = 8M
TR>> maybe there are too many digits for php to cope :)
TR>> --
TR>> regards,
TR>> Tom
RL> I tried using 8M, but no difference. The original setting was 2000000, and
RL> that didn't seem to be too many digits. I'm going to check out ini_set as
RL> suggested by David Banks and will post the outcome in due course.
RL> Thanks,
RL> Roger
ini_set is too late in the proccedings as file upload is over by the time your
script is called. Is there any difference in phpinfo() between master settings
and local settings? if not check to make sure there are not 2 upload_max_filesize
settings in the php.ini file and you are only changing the first :)
--
regards,
Tom