note 85494 modified in ref.com by felipe
| From: | felipe@php.net | Date: | Fri, 05 Sep 2008 14:52:09 +0000 |
| Subject: | note 85494 modified in ref.com by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144166@lists.php.net to get a copy of this message | ||
To run a php script in a background process and pass it you var use
<?php
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("c:\\xampp\\php\\php.exe
c:\\xampp\\Not_on_Web\\ftptestback.php --user=$username", 7, false);
?>
Works for me.
--was--
To run a php script in a background process and pass it you var use
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("c:\\xampp\\php\\php.exe
c:\\xampp\\Not_on_Web\\ftptestback.php --user=$username", 7, false);
Works for me.
http://php.net/manual/en/ref.com.php