Script executes for longer than 30s
| From: | PHPCoder | Date: | Mon, 13 May 2002 17:29:36 +0000 |
| Subject: | Script executes for longer than 30s | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-97380@lists.php.net to get a copy of this message | ||
HI
I wrote a basic script that takes the input of a textfield and passes it onto the system() function and then echo's the result, somethinglike this:
<?php
$result = system($command);
echo $result;
?>
The $command is sent from the previous page via text field.
Whe I test this and do something like " ping 192.168.0.2", the page keeps on growing and growing, way past 30seconds. My php.ini file is definately set to 30s timeout. Is there something wrong or do I have a misunderstanding of the timeout workings?
Thanks
'