Quote:
Originally Posted by fr0gman
<?
$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!