mysqlimport & exec()

From: Date: Sat, 15 Sep 2001 03:32:42 +0000
Subject: mysqlimport & exec()
Groups: php.general 
Request: Send a blank email to php-general+get-67425@lists.php.net to get a copy of this message
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 Linux/Apache/Slackware box at an IP and I have tried all relevant files & directories (including mysqlimport command) as root.root and nobody.nobody. Any ideas would be appreciated. TIA Terry

« previous php.general (#67425) next »