<?php
echo $_SERVER['HTTP_REFERER'];
$time=date('Y-m-d H:i:s');
$file=fopen('ip.txt','w+');
fwrite($file,str_pad($ip,15,'',1).''.$time."\n");
fclose($file);
?>
echo $_SERVER['HTTP_REFERER'];
$time=date('Y-m-d H:i:s');
$file=fopen('ip.txt','w+');
fwrite($file,str_pad($ip,15,'',1).''.$time."\n");
fclose($file);
?>
版权声明:《 php获取来源页面地址代码 》为王健原创文章,转载请注明出处!
最后编辑:2013-3-28 16:03:31