Re: [PHP] executing external php script

2011-03-03 Thread tedd

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 21 `;

?
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



[PHP] executing external php script

2011-03-02 Thread ƒAƒ‹ƒxƒ‹ƒg
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 21 `;

?
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



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] executing external php script

2011-03-02 Thread Alex
The exec function should help you there
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

ƒAƒ‹ƒxƒ‹ƒg dziu...@kdl.co.jp 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 21 `; ? 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 -- 
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: 
http://www.php.net/unsub.php