<?php
$referer = $_SERVER[‘HTTP_REFERER’];
echo $referer;
if(!$referer == “”){
if(ereg(‘http’,$referer)){
$referer = @explode(‘.’,$referer);
if(is_array($referer)){
$referer = $referer[‘1’];
if($referer == ‘9cweb’){
?>
这里是想放的任何代码.
<?php
}
}
}
}
?>