note 89322 added to function.system
| From: | Anonymous at osu1 dot php dot net | Date: | Tue, 03 Mar 2009 15:55:23 +0000 |
| Subject: | note 89322 added to function.system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151399@lists.php.net to get a copy of this message | ||
Regarding tyagi dot akhil at gmail dot com comment below, this is simply because you are executing
the command with ./ which means that the program executed is currently residing in the same
directory, which is not always the case. There is an easy solution to this -- simply call your app
with its full path:
system ( "/opt/lampp/bin/mysqldump -q -X -h localhost.... the rest...");
----
Server IP: 89.190.194.18
Probable Submitter: 87.118.135.65
----
Manual Page -- http://www.php.net/manual/en/function.system.php
Edit -- https://master.php.net/note/edit/89322
Del: integrated -- https://master.php.net/note/delete/89322/integrated
Del: useless -- https://master.php.net/note/delete/89322/useless
Del: bad code -- https://master.php.net/note/delete/89322/bad+code
Del: spam -- https://master.php.net/note/delete/89322/spam
Del: non-english -- https://master.php.net/note/delete/89322/non-english
Del: in docs -- https://master.php.net/note/delete/89322/in+docs
Del: other reasons-- https://master.php.net/note/delete/89322
Reject -- https://master.php.net/note/reject/89322
Search -- https://master.php.net/manage/user-notes.php