[PHP] mysqlimport exec()

2001-09-14 Thread Terry Reynolds
Hi has anyone in the PHP world ever managed to run mysqlimport via exec? I have written a one line script mysqlimport -u user -ppassword table file.txt chmodded it (+ x), which works from the command line every time. I've tried exec(), system() etc within PHP but with no luck. I have my own

[PHP] exec() major probs

2001-08-28 Thread Terry Reynolds
Hi I am having major probs trying to exec a command in PHP. All i want to do is fill a table from a tab delimited file from within PHP. I have set up a file called fillit which consists of: mysqlimport -u user -ppassword database list.txt This works from the command line perfectly. I made this