include ("url") VS readfile("url")
am 18.10.2007 16:54:48 von JyGius
Hi all!
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='.;c:\php4\pear') in c:\inetpub\wwwroot\gng\pegi.php on
line 4
Likewise, I can no longer to upload any file.
Any idea?
Many thanks.
Gius.
Re: include ("url") VS readfile("url")
am 18.10.2007 17:04:49 von luiheidsgoeroe
On Thu, 18 Oct 2007 16:54:48 +0200, JyGius 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