Re: [PHP] Check type of uploaded file
From: Gerard Samuel (php-general_at_trini0.org)
Date: 12/07/03
- Next message: Galen: "getimagesize() & MySQL Image Storage (Running functions on contents of variables)"
- Previous message: Chris Shiflett: "Re: [PHP] Persistence of session files"
- In reply to: Richard Davey: "Re: [PHP] Check type of uploaded file"
- Next in thread: Bob Hockney: "Re: [PHP] Check type of uploaded file"
- Reply: Bob Hockney: "Re: [PHP] Check type of uploaded file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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...
- Next message: Galen: "getimagesize() & MySQL Image Storage (Running functions on contents of variables)"
- Previous message: Chris Shiflett: "Re: [PHP] Persistence of session files"
- In reply to: Richard Davey: "Re: [PHP] Check type of uploaded file"
- Next in thread: Bob Hockney: "Re: [PHP] Check type of uploaded file"
- Reply: Bob Hockney: "Re: [PHP] Check type of uploaded file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]