note 52238 added to function.exec
| From: | php-general at lists dot php dot net | Date: | Mon, 25 Apr 2005 21:59:38 +0000 |
| Subject: | note 52238 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88537@lists.php.net to get a copy of this message | ||
i got a headache with this EXEC and BACKTICK
i had read every related comment
and try them on my machine,
but they dont seems to work
all i want is to execute a EXE and bring it to the front end
i followed msheakoski's method
-------
start MSPaint maximized and wait for you to close it before continuing the script:
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("mspaint.exe", 3, true);
--------
but mspaint wont come out,
it is hidden,
please anyone help me.
i am using appserv2.4.3(default configration) winxp sp1
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52238
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52238&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52238&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52238&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52238&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52238&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52238&report=yes
Search -- http://master.php.net/manage/user-notes.php