DO you know if you can just use a post to be able to input the data. So it would look something like this:
$_POST['file'] = $file;
LOAD DATA LOCAL INFILE '$file' REPLACE INTO TABLE `upload`
FIELDS TERMINATED BY ';'
ENCLOSED BY '"'
ESCAPED BY '\\'
LINES TERMINATED BY '\r\n'
Does anyone know if this would work or do you have to do something different to be able to upload the document??