set_time_limit() takes effect only during actual execution of php script.
Take a look at your max_input_time and post_max_size settings.
post_max_size should be higher than upload_max_filesize.
Dan Anderson wrote:
try: set_time_limit(0); // don't time out.
By default, if it takes more then 30
> In the php.ini file set this value?
I believe so. If safe mode isn't stopping you from doign so you should
be able to set_time_limit manually.
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In the php.ini file set this value?
Thanks,
Lou
-Original Message-
From: Dan Anderson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 2:18 PM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED] Php. Net'
Subject: Re: [PHP] Upload seems to time out over 7.5 M
try: set_ti
try: set_time_limit(0); // don't time out.
By default, if it takes more then 30 seconds (or is it 60?) to execute a
web page PHP kills the script.
-Dan
On Wed, 2003-09-10 at 14:15, Lou Parmelee wrote:
> Hello all,
>
> I couldn't upload any files larger than 2M. So I searched around an
Hello all,
I couldn't upload any files larger than 2M. So I searched around and found
this post last night and I made the changes to the php.ini file to support
20M file uploads. The changes were successful but just like in the post
below I can't upload over a 7.5M file now. Any ideas would be muc
5 matches
Mail list logo