|
-
Oct 25th, 2005, 11:45 AM
#1
Thread Starter
Junior Member
[RESOLVED] WScript.Shell suddenly stopped working (Win32)
This is more of a Windows OS problem than a PHP, even if I'm using PHP for it lol.
I don't know why this error is suddenly happening, as it was working fine.
 Originally Posted by error
Warning: (null)(): Invoke() failed: Exception occurred. Source: Unavailable Description: Unavailable in c:\webserver\htdocs\includes\functions.php on line 47
This is the offending lines (PHP of course):
// Make a new instance of the COM object
$WshShell = new COM("WScript.Shell");
// Make the command window but don't show it.
$oExec = $WshShell->Run($cmdline, 0, true); << line 47
This is really annoying me.... Any Ideas?
Or advise me another way to execute external programs in PHP, that returns either a false or true........
TIA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|