Re: executing external php script

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

 



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/

--
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