It's because you're using \ . In PHP that's a special character release.
What you want to do then is to use a double \ within the file path.
'C:\\PHP\\uploadtemp\\php7.tmp'
- Erik
> -----Original Message-----
> From: Lee Denny [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 24, 2001 9:34 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] File Uploads on WIN2000
>
>
> This is probably stupid but I've just upgraded from PHP3 on 98 to PHP4 on
> Win2000 using IIS 5.0. Everything seems to be fine, but when i try to move
> files I get the error:
>
> LOAD DATA LOCAL INFILE 'C:\PHP\uploadtemp\php7.tmp' INTO TABLE gallery
> FIELDS TERMINATED BY ';' ENCLOSED BY '\"' ESCAPED BY '\\' LINES TERMINATED
> BY '\n'
> MySQL said: File 'c:phpuploadtempphp7.tmp' not found (Errcode: 2)
>
> Obviously there's a problem with with my permissions but being
> new to this i
> can't seem to get it going.
>
> Thanks
>
> Lee
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]