0 && $targetDate>(int)($limitDate) ){ $url = 'http://rd.kyodo-d.info/np/'.preg_replace($regPat, '$2$3$4', $url); } // header('Location: '.$url); $kdurl=$url; ?> 47SPORTS no =".$no."

"; echo "

title =".$title."

"; echo "

url =".$url."

"; **/ $filename = '/var/www/accesslog/CN'.date("Ymd").'.log'; $file=fopen($filename, 'a'); flock($file, LOCK_EX); fwrite($file, $data."\n"); flock($file, LOCK_UN); fclose($file); /** 確認用出力 print("
limitMode:".$limitMode); print("
targetDate:".$targetDate); print("
baseDate:".$baseDate); print("
limitDate:".$limitDate); print("
url:".$url); print("
kdurl:".$kdurl); print("
referer".$referer); print("
"); **/ print(''); ?>