silly one but i assume you already have "allow_url_fopen=On" in php.ini? (it
should tell you anyway, that this is not set, plus the error below)

works for me in 4.3.2/winxp pro/apache 1.3.28.

I guess if you don't *need* apache 2, don't do it.

another test might be to fopen and read a socket via http to make sure your
connection (or I should say apache's service logon user's connection) to the
aforementioned ip/host is ok.


"M.R." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PHP 4.3.2, Apache 2.0.47, Windows XP Pro
>
> PHP includes of remote files like
> <?php include('http://somedomain.com/');  ?>
> give error  Failed opening 'http://somedomain.com/' for inclusion
>
> includes of local files like
> <?php include('test.txt');  ?>
> no problem.
>
> The problem with inclusion of remote files was supposedly solved with PHP
> 4.3.0, but still seems a problem, at least on Apache 2.0.47. Is there any
> setting I should look into? Any ideas/help most welcome!
>


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

Reply via email to