Re: [PHP] Check type of uploaded file

From: Gerard Samuel (php-general_at_trini0.org)
Date: 12/07/03


To: php-general@lists.php.net
Date: Sun, 7 Dec 2003 01:31:11 -0500

On Saturday 06 December 2003 11:01 pm, Richard Davey wrote:
> Yes, check the $_FILES['userfile']['type'] after upload.
>
That can be spoofed.
There isn't really a way to determine file types...