RE: [PHP-WIN] File Uploads on WIN2000

From: Date: Tue, 24 Jul 2001 14:55:48 +0000
Subject: RE: [PHP-WIN] File Uploads on WIN2000
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8480@lists.php.net to get a copy of this message
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:lee@areality.co.uk] > Sent: Tuesday, July 24, 2001 9:34 AM > To: php-windows@lists.php.net > 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: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#8480) next »