Thanks for the interest Vincent...
<?php
if(isset($csvfile) && isset($table_name)){ // There is something to be transferred
if (copy($csvfile,"csv_data\".$table_name.".csv")){
printf("The file %s has been uploaded successfully and will now be processed. Please wait...<br>\n",$csvfile);
include("../includes/globals.php");
$mysql_command = "e:\progra~1\mysql\bin\mysqlimport --host=localhost --user=root --ignore --fields-terminated-by=, --fields-enclosed-by=\" database tbl_sites.csv";
$import = passthru($mysql_command);
} else {
printf("There has been an error with the file transfer, you will need to try again<br>\n");
}
} else { // Create csv_transfer form
..and so on..
You will notice I am testing on my local server before trying online. As I said, the command seems to run up to 'mysqlimport' but the arguments are not passed. When I echo $mysql_command the code looks correct!
BTW: W2k, PHP4, MySQL 3.23, Xitami (Online host = Linux server).
Really appreciate your help.