faqts : Computers : Programming : Languages : PHP : Common Problems : File Uploading

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 33 people (30%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

Warning: Unable to open 'c:\\Windows\\TEMP\\php2' for reading; No such file or directory

Jun 7th, 2000 00:27
Richard Heyes, Thidarat Pornkarnchananun,


You can use the stripslashes() function to remove the extra \ before 
trying to open the file. Alternatively turn magic_quotes_gpc off for 
the directory.