Reply to Re: Function file() not working out of the box on several linux distribution

Your name:

Reply:


Posted by Andy Hassall on 06/25/05 21:13

On 24 Jun 2005 07:16:23 -0700, jon.berg@gmail.com wrote:

>I have a problem getting the file() function in PHP to work on several
>linux distributions, for example fedora core 3.
>
>For example file('http://someurl.com/') do not return the content of
>that page.
>
>This is when I use the version of Apache and PHP that comes with the
>operating system. When I compile Apache and PHP from source it works.
>Is there some configuration that can be done so it will work? I need to
>make it work on a server where I can not recompile from the source of
>Apache and PHP.

http://uk.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen

Unless:
http://uk.php.net/manual/en/configure.php#configure.disable-url-fopen-wrapper
... was used at compile time.

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

[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

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