How do I grab the contents of a web page?
| From: | Brian Dunning | Date: | Fri, 21 May 2004 00:19:19 +0000 |
| Subject: | How do I grab the contents of a web page? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-186642@lists.php.net to get a copy of this message | ||
I'm sure there's a really simple way to do this: how can I grab the source code of a specified web page and store it in a variable? Is there something like this:
$siteCode = functionI'mLookingFor('www.123.com/index.htm');
Thanks,
- Brian