Re: remote fopen not working, despite allow_url_fopen = on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/15/07, cajbecu <cajbecu@xxxxxxxxx> wrote:

>
> Hello Aras!
>
> my /etc/resolv.conf is ok - a "host google.com" works and i can reach
> google.com with lynx.
> There  are  no firewall or dns issues on the server.
>

try: var_dump(file('http://ip_google/'));

replace ip_google with google`s main ip.

cajb.


Hi cajb,

I tried that before but, it doesn't even work with 127.0.0.1 or localhost.
Got this Error:

[Thu Feb 15 14:19:47 2007] [error] [client xxx] PHP Warning:  file(
http://72.14.207.99/) [<a href='function.file'>function.file</a>]: failed to
open stream: HTTP request failed!  in /home/domains/x/xxx/tmp/remote.php on
line 2

Alex

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux