View Single Post
Old 11-23-2006, 05:53 AM  
X37375787
Guest
 
Posts: n/a
Quote:
Originally Posted by fr0gman View Post
<?
$guy = $_SERVER["HTTP_REFERER"];

if (preg_match ("/search/", $guy)) {
?>
<script>
if (top.location != location) {
top.location.href = 'http://yoursite.com' ;
}

</script>
<?php
}
?>

Page 2... yahooooooo Join www.wetboxbucks.com

Nice, I always used a non-conditional frame breaker, which got really lame at times, especially when working with iframe previews.

Thanks!
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote