On 2/15/07, cajbecu <[EMAIL PROTECTED]> 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

Reply via email to