Location: PHPKode > scripts > Fetch Link Class > fetch-link-class/fetch_sample.php
<?php
include "fetch.class.php";
$spider=new fetchlinks("http://yahoo.com");
echo "Link Captions:<br>";
$spider->show_caption(1);
echo "<br>";
echo "Link Targets:<br>";
$spider->show_href(1);
?>
Return current item: Fetch Link Class