$referer = $_SERVER['HTTP_REFERER'] ; if ( eregi( 'carolcox' , $referer ) ) { header("Location: http://www.tiffanyxxx.com/freepics/"); } ?>