Initiating background process for running php file as background from another php page -


I want to start a php page from another php page as a background process.

Use:

  $ command = 'php somefile.php '; Pclose (popen ($ command, 'r'));  

It launches somefile.php as the background process.


Comments