Location: PHPKode > scripts > HTML Rendele > example2.php
<?php
/* This example file is used for testing post, get and cookie headers.
script will try to create a cookie file and modify it.
Please give permission before trying cookie*/

require_once('class-html_rendele.php');
 
$bot= new html_rendele();
$bot->url='http://www.cnylmz.net/calismalarim/getpostservercookie.php?de=get';
$bot->referer='www.cnylmz.net';
$bot->tarayici('firefox');
$bot->post=array(
'user'=>'SEYRANLI',
'password'=>'123456',
);
$bot->post['additinonaldata']='a more post data';
$bot->cookie='tempcookie';
$bot->oku();
 
$kaynak=$bot->harman;
$bot->tag='fieldset';
$bot->tag_ozellik('class','info*');
$bot->cek();
foreach($bot->sonuc as $result) {
echo '<b>Class:</b>'.$result['class'].' <b>ID:</b>'.$result['id'].'<br><fiedlset>'.$result['icerik'].'</fieldset><br />';
}
echo '<br><h4>BOT LOGS:</h4>'.$bot->log;
?> 
Return current item: HTML Rendele