executing external php script
| From: | Axg | Date: | Wed, 02 Mar 2011 08:14:37 +0000 |
| Subject: | executing external php script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-311614@lists.php.net to get a copy of this message | ||
hi!
what I want to do is execute php script and don't wait for output.
found something like this
-------------------------------------------------------------
<?php
php /var/www/secend.php >> /dev/null 2>&1 &;
?>
<html>
<body>
text
</body>
</html>
-------------------------------------------------------------
it works but I 'm curious about php syntax ,is it correct way to do that?
or maybe there is better solution.
Thanks for any advice.
Best regards,
Albert