note 89683 added to function.shell-exec
| From: | jon at jbxonline dot net | Date: | Thu, 19 Mar 2009 09:32:10 +0000 |
| Subject: | note 89683 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152125@lists.php.net to get a copy of this message | ||
When using mysqldump with exec(), it's important to note that you MUST use the long form of
switches - eg.
<?php exec('mysqldump -u user dbname > output.sql'); ?>
will not work, but
<?php exec('mysqldump --user=user dbname > output.sql'); ?>
will work.
----
Server IP: 92.48.74.199
Probable Submitter: 213.120.251.2
----
Manual Page -- http://www.php.net/manual/en/function.shell-exec.php
Edit -- https://master.php.net/note/edit/89683
Del: integrated -- https://master.php.net/note/delete/89683/integrated
Del: useless -- https://master.php.net/note/delete/89683/useless
Del: bad code -- https://master.php.net/note/delete/89683/bad+code
Del: spam -- https://master.php.net/note/delete/89683/spam
Del: non-english -- https://master.php.net/note/delete/89683/non-english
Del: in docs -- https://master.php.net/note/delete/89683/in+docs
Del: other reasons-- https://master.php.net/note/delete/89683
Reject -- https://master.php.net/note/reject/89683
Search -- https://master.php.net/manage/user-notes.php