Re: Failure remote includes

From: Date: Fri, 01 Aug 2003 06:18:56 +0000
Subject: Re: Failure remote includes
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20970@lists.php.net to get a copy of this message
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." <purplespirit@hccnet.nl> wrote in message news:002501c3575a$f322c080$7142c23e@giga... > 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! >

« previous php.windows (#20970) next »