note 31846 added to function.shell-exec
| From: | manjay dot dwivedi at paradox-studios dot com | Date: | Tue, 06 May 2003 13:12:15 +0000 |
| Subject: | note 31846 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47579@lists.php.net to get a copy of this message | ||
when i am trying to execute following statment ,it's not working.
$command="mysqldump -u root -p pass db_name > test.sql";
$shell_return= shell_exec($command."2>&1");
print "UR query execute successfully : Query
was----<b>$command</b><br>$shell_return";
no error nothing.
Regards
Manjay Dwivedi
--
http://www.php.net/manual/en/function.shell-exec.php
http://master.php.net/manage/user-notes.php?action=edit+31846
http://master.php.net/manage/user-notes.php?action=delete+31846
http://master.php.net/manage/user-notes.php?action=reject+31846