You are here: Re: Uploads and mime type « PHP Programming Language « IT news, forums, messages
Re: Uploads and mime type

Posted by Michael Fesser on 11/16/07 00:23

..oO(Mad Hatter)

>On Fri, 16 Nov 2007 00:17:42 +0100, Rik Wasmus wrote:
>>
>> What's the reason the mime-type is of importance to you?
>
>It's not. It's just that all the upload scripts that I've seen seem to use
>it to work out the file type. I think I'll stick to my original idea of
>checking the file extension of the uploaded file.

The extension is as unreliable as the submitted content type. Don't use
it for security purposes.

Micha

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация