note 29616 added to ref.exec

From: Date: Wed, 19 Feb 2003 11:18:15 +0000
Subject: note 29616 added to ref.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-44194@lists.php.net to get a copy of this message
I thought I contribute with how I got background running to work on Windows 2K. I used the bgrun-exe (www.jukkis.net/bgrun/bgrun.exe) to get this working. I just put this file in my php directory (d:\php) This is my start.php file: Hopefully started with BGRUN <? // WORKS!!! $tmp=exec("d:\php\bgrun d:\php\cli\php -q d:\www\myphpapp.php >nul",$res); ?> When run from a webbrowser it shows the text above and runs myphpapp.php in the background. -- http://www.php.net/manual/en/ref.exec.php http://master.php.net/manage/user-notes.php?action=edit+29616 http://master.php.net/manage/user-notes.php?action=delete+29616 http://master.php.net/manage/user-notes.php?action=reject+29616

« previous php.notes (#44194) next »