Posted by Rik on 02/04/07 14:43
Gene <ox.gene@wp.pl> wrote:
> how can i check if file which user upload at server is truly jpeg, and
> is not hacking script 'script.php' which name was changed at
> script.jpg. checking mime type doesn't solve it?
I usually abuse getimagesize() for that.
--
Rik Wasmus
Navigation:
[Reply to this message]
|