Having problem using WScript to run two commands in PHP

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-03-12T16:47:34Z Indexed on 2010/03/12 16:57 UTC
Read the original article Hit count: 289

Filed under:
|
$cmd = 'cd /d D:\ ' . "\r\n php file.php args";
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run($cmd, 0, false);

I found file.php is not run(by using file_put_contents,the permission settings are ok)

© Stack Overflow or respective owner

Related posts about php

Related posts about wscript