Hello Brian,

Friday, May 21, 2004, 1:19:19 AM, you wrote:

BD> I'm sure there's a really simple way to do this: how can I grab the
BD> source code of a specified web page and store it in a variable? Is
BD> there something like this:

BD> $siteCode = functionI'mLookingFor('www.123.com/index.htm');

If you're talking about the resulting HTML code then there are a
variety of ways - look in the manual at the fopen() examples.

-- 
Best regards,
 Richard Davey
 http://www.launchcode.co.uk / PHP Development Services
 http://www.phpcommunity.org/wiki/296.html / PHP Community

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to