Hi!

> I think he means matching file "extension". File extension should
> represent file type, though.

You can not rely on that. I can name files anything regardless of what's
in the file.

> Since "pwnd.php" has ".php" extension, move_uploaded_file() refuses to
> move it
> to upload dir by default.

There's no pwnd.php. The file that I upload is "cuteponies.gif". Please
look at the sequence again carefully.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to