Date: 01/04/01
- Next message: Sam Liddicott: "RE: [PHP-DEV] can libphp4.so use static libs?"
- Previous message: dclark <email protected>: "[PHP-DEV] PHP 4.0 Bug #8551: mssql70.dll problem"
- Next in thread: derick <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe reply: derick <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe reply: eschmid <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe reply: cynic <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe reply: cynic <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7244
User Update by: c.schmidt-koester <email protected>
Status: Open
Bug Type: MySQL related
Description: Problem with LOAD DATA LOCAL INFILE
With
$file = addslashes ($file);
it works.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-16 10:51:25] c.schmidt-koester <email protected>
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7244
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sam Liddicott: "RE: [PHP-DEV] can libphp4.so use static libs?"
- Previous message: dclark <email protected>: "[PHP-DEV] PHP 4.0 Bug #8551: mssql70.dll problem"
- Next in thread: derick <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe reply: derick <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe reply: eschmid <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe reply: cynic <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Maybe reply: cynic <email protected>: "[PHP-DEV] PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

