Andy Pieters wrote:
Hi all
We develop our software with built-in debug handlers that are very talkative.
Each class registers itself to a central debug handler. When a conditional
define NODEBUG is set, that debughandler just does a return null but
obviously it takes time to perform that cal
Take a timestamp at the beginning or your script and at the end (subtract)
and you have the execution time (reasonably precisely) plus or minus a few
microseconds.
http://www.php.net/manual/en/function.microtime.php
Warren Vail
> -Original Message-
> From: Peter Lauri [mailto:[EMAIL PRO
Edit your php.ini, change "max_execution_time" to something greater than
30.
Mark
> -Original Message-
> From: Pong-TC [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 04, 2002 2:44 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Execution Time
>
>
> Hello All
>
> I have a problem wi
> I have a php script that runs every 30 minutes. It takes the contents of a
> directory (which is constantly being updated) and dumps them into a mysql
> database. Recently this directory has become increasingly large and the php
> script only updates a portion of it before it stops execution.
>
http://www.php.net/manual/en/function.set-time-limit.php
the set_time_limit allows you to reset the max execution time..
the manual says:
When called, set_time_limit() restarts the timeout counter from zero. In
other words, if the timeout is the default 30 seconds, and 25 seconds into
script ex
You can use a standalone compiled PHP version and then You will not need a browser to
execute scripts
see http://www.php.net/manual/en/install.commandline.php
- Original Message -
From: "Pétur Björn Thorsteinsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday 27 July 2001
6 matches
Mail list logo