Re: executing external php script
| From: | tedd | Date: | Fri, 04 Mar 2011 00:24:52 +0000 |
| Subject: | Re: executing external php script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311652@lists.php.net to get a copy of this message | ||
At 5:14 PM +0900 3/2/11, A-x-g wrote:
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
Albert:
Sure, try this:
http://www.webbytedd.com/bb/php-run-php/
The code is there.
Cheers,
tedd
--
-------
http://sperling.com/