Re: failed to open stream: HTTP

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

 



Check to see if allow_url_fopen = On in your php.ini file

"Disko_kex" <disko_kex@swedish-mushroom.com> wrote in message
001101c39489$3d708300$e900a8c0@lokalguirdcfee">news:001101c39489$3d708300$e900a8c0@lokalguirdcfee...
> Hi.
> This has always been working for me, and now it isnt?
>
> <?php
> $handle = fopen ("http://www.lokalguiden.se/test.txt";, "r");
> ?>
>
> I get this warning:
> Warning: fopen(http://www.lokalguiden.se/test.txt): failed to open
> stream: HTTP request failed! ^ in c:\inetpub\wwwroot\lgd\test.php on
> line 2
>
> I just change from apache to IIS. Please help..
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux