RE: [PHP] Resource Limits

2003-09-29 Thread Donald Tyler
Just incase you weren't aware. You can change the Max execution time
during the script with:

set_time_limit(Milliseconds);

-Original Message-
From: Decapode Azur [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 27, 2003 5:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Resource Limits

hi the list,

How can I get the values of 'max_execution_time', 'max_input_time' and 
'memory_limit' from my php script ?


thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Resource Limits

2003-09-29 Thread Eugene Lee
On Mon, Sep 29, 2003 at 07:49:40AM -0500, Donald Tyler wrote:
:
: Decapode Azur asked:
:  
:  How can I get the values of 'max_execution_time', 'max_input_time' and 
:  'memory_limit' from my php script ?
:
: Just incase you weren't aware. You can change the Max execution time
: during the script with:
: 
: set_time_limit(Milliseconds);

That should be seconds, not milliseconds.  :-)

http://www.php.net/manual/en/function.set-time-limit.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Resource Limits

2003-09-27 Thread Jon Haworth
Hi,

 How can I get the values of 'max_execution_time',
 'max_input_time' and 'memory_limit' from my php script ?

Use the ini_get function:
http://php.net/ini-get

Cheers
Jon


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php