Use the following script to retrieve the data.
<?
$siteurl = "sitename";
$ch = curl_init($siteurl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$curl_scraped_page = curl_exec($ch);
curl_close($ch);
echo $curl_scraped_page;
?>
<?
$siteurl = "sitename";
$ch = curl_init($siteurl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$curl_scraped_page = curl_exec($ch);
curl_close($ch);
echo $curl_scraped_page;
?>
No comments:
Post a Comment