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" <[EMAIL PROTECTED]> wrote in message 002801c133f3$1e2204e0$0feafea9@reynolds">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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]