Re: include text from a html-file online
| From: | Gert Mellak | Date: | Thu, 09 May 2002 18:39:50 +0000 |
| Subject: | Re: include text from a html-file online | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96856@lists.php.net to get a copy of this message | ||
Andreas Indahl <andreas@koga.nu> schrieb in im Newsbeitrag:
20020509181648.4920.qmail@pb1.pair.com...
> I want to include text from a html-file that is online at another website.
> To be more precise: I want to include my seti-stats from
> http://setiathome.ssl.berkeley.edu/ on my own homepage. Can I
> do this with
> PHP?
certainly... just use the fopen-function and use the URL as the filename.
You handle it
the same way as a normal text-file.
Here's the link to the php-function:
http://www.php.net/manual/en/function.fopen.php
Greetings,
Gert.
====================================
I'm still confused - but on a much higher level...