mrphp Posted April 25, 2006 Share Posted April 25, 2006 I would like to call a php script from within my vbscript.How do I do that? This isn't working...Dim objWshShell, runcommand, DBScriptPath, outputStringSet objWshShell = WScript.CreateObject("Wscript.Shell")DBScriptPath = """C:\Program Files\Path\ToScript\dbscript.php""""runcommand = "C:\ php\ php.exe " & "-q " & DbScriptPath & " " & input1 & " " & input2 & " " & input3objWshShell.exec(runcommand)outputString = objWshShell.StdOut.ReadAllWScript.Echo outputStringThe php script doesn't seem to run.MrPhp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.