You are here: Re: uploading php scripts « All PHP « IT news, forums, messages
Re: uploading php scripts

Posted by J.O. Aho on 10/12/24 11:37

Gernot Frisch wrote:
>> To further prevent people from uploading renamed extension files,
>> also
>> check the mime_type of the file being uploaded to ensure it truly is
>> an
>> exe or zip.
>
> If someone uploads a php file with .txt enxtension and calls it ->
> will it be interpreted by php?

No, it won't be as long as you don't include it in a script with include(),
include_once() and similar functions.


//Aho

 

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

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