Location: PHPKode > scripts > HTML Rendele > example.php
<?php
require_once('class-html_rendele.php');
$bot= new html_rendele();
$bot->url='www.cnylmz.net';
$bot->referer='www.cnylmz.net';
$bot->tarayici('firefox');
$bot->oku(); // read url
// all read codes in $bot->harman variable now
 
$bot->tag='div';
$bot->tag_ozellik('class','post*');
$bot->cek(); // selects tags that we want
foreach($bot->sonuc as $result)
echo $result['icerik'];
?>
Return current item: HTML Rendele