note 89322 deleted from function.system by danbrown
| From: | danbrown@php.net | Date: | Tue, 03 Mar 2009 16:05:39 +0000 |
| Subject: | note 89322 deleted from function.system by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151400@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
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...");