Re: I'm begging for help displaying a remote web page.
| From: | olinux | Date: | Tue, 29 Apr 2003 02:12:31 +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-145580@lists.php.net to get a copy of this message | ||
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