Re: PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE
| From: | Christiane Schmidt-Köster | Date: | Thu, 04 Jan 2001 15:58:24 +0000 |
| Subject: | Re: PHP 4.0 Bug #7244 Updated: Problem with LOAD DATA LOCAL INFILE | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-42942@lists.php.net to get a copy of this message | ||
> User reported that it works if he does:
> $file = addslashes ($file)
>
> So this was a user error.
Oh NOOOOO! In all versions of PHP <= 4.0.2 it wasn't necessary to put
addslashes() around the filename. I think this solution is only a
workaround.
The error occurs also in phpMyAdmin! Please open again ( and fix it ;) )
Christiane