Reply to include() not working properly

Your name:

Reply:


Posted by Matt White on 05/19/07 01:32

I've been running a XAMPP server for some time now, but I just tried to add
an include, and it says:

Warning: include() [function.include]: URL file-access is disabled in the
server configuration in M:\Server\htdocs\desktop\search.php on line 12

Warning: include(http://www.google.com) [function.include]: failed to open
stream: no suitable wrapper could be found in
M:\Server\htdocs\desktop\search.php on line 12

Warning: include() [function.include]: Failed opening
'http://www.google.com' for inclusion (include_path='.;M:\Server\php\pear\')
in M:\Server\htdocs\desktop\search.php on line 12

I have opened up php.ini, and set allow_url_include = On . allow_url_fopen
was already allowed. Yet whenever I run phpinfo(), it reports that
allow_url_include is Off both locally and in the master. I have already
changed php.ini, and restarted the server, but it does nothing. Any
suggestions?

Matt

[Back to original 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

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