Re: Info on another page
| From: | _lallous | Date: | Fri, 16 Nov 2001 15:36:16 +0000 |
| Subject: | Re: Info on another page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74887@lists.php.net to get a copy of this message | ||
you can fopen() remote files!
$fp = fopen("www.site.com/infodir/exchange.txt","r");
$rates = fread($fp, ...............);
fclose($fp);
"Mindhunter" <MindHunter@mailbox.co.za> wrote in message
news:20011116135632.41207.qmail@pb1.pair.com...
> Hi,
>
> Lets say I want to get the current exchangerate from another page on the
web
> and use it in calculations on my own page. How do I retrieve info from
> another site once someone access my page?
>
> Tx
> MH
>
>