Re: Check type of uploaded file
| From: | Gerard Samuel | Date: | Sun, 07 Dec 2003 06:31:11 +0000 |
| Subject: | Re: Check type of uploaded file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172121@lists.php.net to get a copy of this message | ||
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...