Re: Re: Background Process

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

 



popen will allow you to read/write data to a file but not execute the php code.

i am assuming that you want to execute the php script like
include/require does.. if that is the case system() will serve your
purpose....but this requires php to be installed as a CLI
<?php
$res = system("path/to/php.exe /path/to/second/file.php");
?>

but as Nathan suggested it would be best for you if you considered
alternative options. for example you can make an AJAX  request to the
second file.
Kranthi.

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