You are here: Re: how to safety upload jpeg « PHP Language « IT news, forums, messages
Re: how to safety upload jpeg

Posted by OmegaJunior on 02/05/07 11:35

On Sun, 04 Feb 2007 01:23:43 +0100, 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?
>

You upload it to the server anyway, and have the server tell you what kind
of file it is, instead of the browser.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

 

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

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