fopen fails to open a php file
The goal is for one file to open the second file which sends the sms. if i directly start check.php it works but when i try to run it through main.php nothing happens not even an error. suggestions ?
$test = fopen("check.php", "r");
PS i dont want to wait while exec runs , that means main.php needs to run without waiting for a response.
$ping_ex = exec("C:\smssend\SMSUtil /CP COM11 /R \"+37*********\" /M \"test\" ", $ping_result, $pr);
Last edited by Stobor; 10-03-2013 at 03:20 AM.
Well the right one is:
Hope this helps.
Fixed the problem the other way.
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("C:\smssend\SMSUtil /CP COM11 /R \"+37**********\" /M $smstext", 0, false);
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)