Re: Retrieve output from HTML or PHP file
| From: | Richard Lynch | Date: | Mon, 05 Jun 2006 17:36:24 +0000 |
| Subject: | Re: Retrieve output from HTML or PHP file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237421@lists.php.net to get a copy of this message | ||
On Fri, June 2, 2006 12:27 pm, Rodrigo de Oliveira Costa wrote:
> Can I do the below to an URL, like retrieving the output of a site and
> store it on a variable?
<?php echo file_get_contents('http://php.net/');
?>
--
Like Music?
http://l-i-e.com/artists.htm