RE: [PHP-WIN] include() and file() on remote files

From: Date: Tue, 27 Aug 2002 10:18:43 +0000
Subject: RE: [PHP-WIN] include() and file() on remote files
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15530@lists.php.net to get a copy of this message
So far as I know, Linux etc does not have any problem with a statement such as include("http://www.yahoo.com"); However it is fairly simple to work around in Windows, I do it all the time. The following code will produce the same output: <? $fp = @fopen("http://www.yahoo.com","r"); while(!feof($fp) && $fp) { echo fread($fp, 4096); } @fclose($fp); ?> HTH Ross > -----Original Message----- > From: Rudolf Staribacher [mailto:r.staribacher@hypercms.com] > Sent: 26 August 2002 22:16 > To: php-windows@lists.php.net > Subject: [PHP-WIN] include() and file() on remote files > > > the include function does not work on Win32 platforms on remote files > (http). I faced also problems with nested!!! file function on remote files > (http). Does anybody know, if the lack of remote access of include() and > file() could also occure on other OS? > > thx, > Rudolf > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.windows (#15530) next »