Time limit on recursive procedure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 rec_scanl, but I
seem to have to set a longer time limit than I would have anticipated, and I wonder if in
fact the original time limit still applies to the original invocation?


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux