PHP 4.0 Bug #7244: Problem with LOAD DATA LOCAL INFILE
| From: | c dot schmidt-koester at gmx dot net | Date: | Mon, 16 Oct 2000 14:51:25 +0000 |
| Subject: | PHP 4.0 Bug #7244: Problem with LOAD DATA LOCAL INFILE | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35132@lists.php.net to get a copy of this message | ||
From: c.schmidt-koester@gmx.net
Operating system: Win 98
PHP version: 4.0.3
PHP Bug Type: MySQL related
Bug description: Problem with LOAD DATA LOCAL INFILE
I'm using Win98, Apache 1.3.9, MySQL 3.23-beta and PHP4.0.3.
Since PHP4.0.3 there is a problem with import data to MySQL (LOAD DATA LOCAL INFILE). It seems that
PHP is filtering out all slashes of the file path, so MySQL can't find the file.
mysql_error() and mysql_errno() say something like this
"File 'e:TempphpA154.TMP' not found (Errcode: 2)"
LOAD DATA INFILE (without LOCAL) seems to be ok.
--
Edit Bug report at: http://bugs.php.net/?id=7244&edit=1