Re: probs with exec, pls help
| From: | _lallous | Date: | Mon, 03 Sep 2001 08:24:34 +0000 |
| Subject: | Re: probs with exec, pls help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65716@lists.php.net to get a copy of this message | ||
should'nt I guess....
I should at least specify full path of mysqlimport as in:
exec("/usr/local/mysql/bin/mysqlimport -u -p dada dasda")
"Taz" <terry@tazwebservices.co.uk> wrote in message
news:002801c133f3$1e2204e0$0feafea9@reynolds...
Should this work, if not, why not
<?php exec("mysqlimport -u root -ppasword test one.txt") ?>
the import works fine from the command line
TIA
Terry