RE: [PHP] problem uploading big (50MB) file
| From: | Brandon Orther | Date: | Thu, 29 Mar 2001 21:33:29 +0000 |
| Subject: | RE: [PHP] problem uploading big (50MB) file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46162@lists.php.net to get a copy of this message | ||
Hello,
You can use set_time_limit(); at the top of your script to set the max time
limit. set_time_limit(0); will let it go forever, as I do not recommend
this until you test the script and know the it doesn't have an endless loop
or what not.
example:
<?
set_time_limit(0);
echo "test";
?>
-----Original Message-----
From: Gilles-Eric Descamps
[mailto:Gilles-Eric.Descamps@SiliconAccess.com]
Sent: Thursday, March 29, 2001 1:18 PM
To: php-general@lists.php.net
Cc: 'Clayton Dukes'
Subject: RE: [PHP] problem uploading big (50MB) file
Hi Clayton,
As I was writing, I confirmed every variable change
by a phpinfo() page.
Yes, to enforce changes in the php.ini file,
I stop and start the whole apache...
> -----Original Message-----
> From: Clayton Dukes [mailto:cdukes@cdukes.com]
> Sent: Thursday, March 29, 2001 1:18 PM
> To: Gilles-Eric Descamps; php-general@lists.php.net
> Subject: Re: [PHP] problem uploading big (50MB) file
>
>
> This is set by max_execution_time, did you restart apache to
> re-read your
> php.ini file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net