|
Posted by Gary on 11/10/05 12:35
Many thanks for the response ... and yes It did help. As a courtesy I
though that I would post the code that I eventually used.
//Define functions
function get_html_page($url)
{
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_HEADER, 0);
ob_start();
curl_exec ($ch);
curl_close ($ch);
$html_page = ob_get_contents();
ob_end_clean();
return $html_page;
}
Seems to do the trick.
I have also noticed that this post is also on a site called
www.viper.uk.net.
So how did you do that?????????? More scripting???? I'd love to know.
Many thanks, Gary
http://www.menkaura.com/Forum/index.php
Navigation:
[Reply to this message]
|