Re: probs with exec, pls pls help
| From: | David Robley | Date: | Mon, 03 Sep 2001 07:15:56 +0000 |
| Subject: | Re: probs with exec, pls pls help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65710@lists.php.net to get a copy of this message | ||
On Mon, 3 Sep 2001 17:00, taz wrote:
> Should this work, if not, why not?
>
> <?php exec("mysqlimport -u root -ppasword test one.txt") ?>
>
> the import works fine from the command line
> exec("ls") works too
>
>
> TIA
> Terry
Probably the user that your webserver, and hence your php script, runs as
does not have permissions to execute mysqlimport.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Self-made man: A horrible example of unskilled labor.