Re: I'm begging for help displaying a remote web page.

From: Date: Tue, 29 Apr 2003 02:17:12 +0000
Subject: Re: I'm begging for help displaying a remote web page.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145581@lists.php.net to get a copy of this message
Even simpler then fopen, and fgets is the readline() function. Whatever file you tell readline to open (including web addresses) will be echoed. Look it up in the manual. -Dan Anderson On Mon, 2003-04-28 at 22:12, olinux wrote: > you can use fopen() and fgets() > http://www.php.net/manual/en/function.fgets.php > > $handle = fopen ("http://www.wiu.edu", > "r"); > while (!feof ($handle)) { > $buffer = fgets($handle, 4096); > echo $buffer; > } > > olinux > > > --- Police Trainee <policetrainee@yahoo.com> wrote: > > Ok I am begging now. Could someone please help show > > me > > how to have a script display the site at > > "http://www.wiu.edu/stu" when the script is > > called > > (not a re-direct, but an inclusion of some kind). > > > > everything is all messed up since they changed the > > version of PHP on my server. include() won't work > > for > > that particular site anymore. (fopen url is on) > > > > thank you so much > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.yahoo.com > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com

« previous php.general (#145581) next »