Well to retrieve the entire page use file_get_contents() then preg_match_all() to filter to that table. Below is an example
<?
$var=file_get_contents('http://superdialcouk.dmshop.biz/numbers/0207/choose.php?dmb1_SessRef=2009-08-22_15-29-14_8068_0003');
$var=preg_match_all('/<table class="vert_centered_leaded" style="width: 100%;".*<tr>.*<tr>.*<\/tr>(.*<\/table>)/Us',$var,$array);
//print_r($array);
$var='<table class="vert_centered_leaded" style="width: 100%;">'.$array[1][0];
unset($array);
echo $var;
?>
Usually I only use curl if it involves pinging or posting to a server.
Last edited by cwarn23; Aug 24th, 2009 at 4:31 am. Reason: code tag syntax
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
Offline 3,004 posts
since Sep 2007