You are here: Re: include ('url') VS readfile('url') « PHP Programming Language « IT news, forums, messages
Re: include ('url') VS readfile('url')

Posted by Rik Wasmus on 10/18/07 15:04

On Thu, 18 Oct 2007 16:54:48 +0200, JyGius <g.ricioppo@gmail.com> wrote:=

> On my webhost this line
>
> include ('http://www.google.com');
>
> always worked with no problem until monday.
> But now I get this message
>
> Warning: main(): Failed opening 'http://www.google.com' for inclusion
> (include_path=3D'.;c:\php4\pear') in c:\inetpub\wwwroot\gng\pegi.php o=
n
> line 4
>
> Likewise, I can no longer to upload any file.
>
> Any idea?

Contact your host and ask them what they changed. For the first, the =

settings allow_url_fopen & allow_url_include or of importance, for the =

second one file_uploads, upload_max_filesize, upload_tmp_dir and =

post_max_size. You can examine the current settings for those with eithe=
r =

ini_get() or phpinfo().
-- =

Rik Wasmus

 

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

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