You are here: Re: include() not working properly « PHP Programming Language « IT news, forums, messages
Re: include() not working properly

Posted by Ambush Commander on 05/19/07 01:47

To answer your question literally, open up your phpinfo() file and
ensure that the php.ini file you are editing is indeed the one being
used by the interpreter (on Windows systems, its easy to get multiple
php.ini files lying around).

However, you should not be remotely including files: doing so is an
incredibly bad idea, both from a security and performance standpoint.
If you are scraping Google's front page, use fopen or curl to retrieve
the file, and then echo it to the user. include() will allow remote
code execution on your computer.

HTML Purifier <http://htmlpurifier.org> Standards-compliant filtering

 

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

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