Re: Include from another URL?
| From: | Curt Zirzow | Date: | Thu, 06 May 2004 20:49:14 +0000 |
| Subject: | Re: Include from another URL? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185562@lists.php.net to get a copy of this message | ||
* Thus wrote Nik (nkarasev@usa.com):
> Include a content from another URL into the current output. I have done
> something like
> this:
>
> ------ code start
> <?php
> include 'http://myotherurl.com:8080';
> ?>
> ------ code end
You want to use readfile() instead.
http://php.net/readfile
Curt
--
"I used to think I was indecisive, but now I'm not so sure."