From:             [EMAIL PROTECTED]
Operating system: Win98 / PWS 4.0
PHP version:      4.0.4pl1
PHP Bug Type:     Feature/Change Request
Bug description:  Slashes passed thru a file upload

Maybe it's a not a bug but with Php 3.0.7 and PHP 4.0.2, when you upload a file, the 
file name is not stripslashed but in PHP4.0.4pl1, it is... That's confusing because I 
use a stripslashes function...
Example :

I upload "c:\windows\toto.txt" => PHP 3.0.8 and 4.0.2 : i get in the associated 
variable : "c:\\windows\\toto.txt" so I stripslash it... But in PHP 4.0.4pl1, i get 
"c:\windows\toto.txt" so when i stripslahs it, it can't find the file 
I found a workaround but it's boring...

That's all...

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to