Adam Conrad wrote:
Ross Bemrose said:OK, I obviously need more sleep. The previous emails I sent were both wrong.
I'm not sure if all fields are affected by this, but stripslashes()
is not working on $_FILES['whatever']['name'], rendering uploads useless.
Can you be a bit more specific about what behaviour you're seeing, and what you're expecting it to do? Your description's a bit vague.
... Adam
The real problem is that PHP is no longer removing windows style paths before placing the file's name in $_FILES['file']['name']. Whether this has anything to do with basename() or not, I don't know.
-- Ross Bemrose Webmaster, VGMusic.com
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 2/7/2005
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

