you may change the maximum execution time in php.ini (change 30 to what you want)
or use set_time_limit()
however, I have another question.
I use PHP to write a script under unix and run directly. ex:
#/usr/local/bin/php -q
<?php
........... (I use some ftp functions)
?>
SOMETIMES it appears "Fatal error: Maximum execution time of 30 seconds exceeded in test.php on line xx"
only SOMETIMES may appear, and when it appears, not 30sec after I execute it, but 10min or 20min later ... so strange, why ?
thanks!