am using windows-7 OS and wamp server. i have 2 php files trigger.php,background.php. i want to run background.php in background .i have to call this file from trigger.php .
i tried below methods.
i added this code in trigger.php
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("C:\wamp\bin\php\php5.3.5\php-win.exe -f C:/wamp/www/background.php", 0, false);
but my background.php is not getting called.
how i can do this?
any suggestions are appreciated.