note 38156 added to ref.exec
| From: | Russell at Onezero dot php dot net | Date: | Wed, 10 Dec 2003 05:28:12 +0000 |
| Subject: | note 38156 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61723@lists.php.net to get a copy of this message | ||
Note to newcomers: do not specify the file name you are trying to run as part of the path. ie
correct command:
$exe = "start /D \"C:\\mysql\\bin\" /B mysqldump.exe";
dont get caught out by using:
$exe = "start /D \"C:\\mysql\\bin\\mysqldump.exe";
It wont work!
The /D parameter specifies the path to the file
The /B parameter specifies the file to run
----
Manual Page -- http://www.php.net/manual/en/ref.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38156
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38156&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38156&report=yes
Search -- http://master.php.net/manage/user-notes.php