breaking the iframe

cheezycheez

Junior Member
Joined
May 9, 2009
Messages
117
Reaction score
14
i was trying to break the iframe so it wont go on surfing as i tried to register my site to the autosurfing.. :D can you please tell me?

Code:
<?PHP
$file_handle = fopen("l.txt", "rb");
$line_of_text = fgets($file_handle);
$i = 0;
$mypages[$i] = $line_of_text;
$i=1;
while (!feof($file_handle) ) {
$line_of_text = fgets($file_handle);
$mypages[$i] = $line_of_text;
$i = $i+1;

}

fclose($file_handle);
$myrandompage = $mypages[mt_rand(0, $i -1)];
?>
<iframe src ="<?php echo $myrandompage; ?>" frameborder=0 allowtransparency="true" width="100%" height="100%">
  <p>Your browser does not support iframes.</p>
</iframe>

:D please
 
Back
Top