I have a recursive procedure, and I set the time limit each time I enter it:
function rec_scan($directory, ..)
{
set_time_limit (1);
if (is_dir($new_file))
{
rec_scan ($new_file, )
}
}
The
Clancy wrote:
I have a recursive procedure, and I set the time limit each time I
enter it:
function rec_scan($directory, ..)
{
set_time_limit (1);
if (is_dir($new_file))
{
rec_scan ($new_file, )
}
}
The way I read the manual, the timer should be reset each time I call
On Sun, 07 Jun 2009 13:04:20 +0200, p...@computer.org (Per Jessen) wrote:
Clancy wrote:
I have a recursive procedure, and I set the time limit each time I
enter it:
function rec_scan($directory, ..)
{
set_time_limit (1);
if (is_dir($new_file))
{
rec_scan ($new_file, )
}
}
3 matches
Mail list logo