[不指定 2012/10/19 18:09 | by 孤城浪子 ]
| |
$file="log.txt";
$userip = ($_SERVER['X_FORWARDED_FOR']) ? $_SERVER['X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
$hanlder=fopen($file,"ab+");
fwrite($hanlder,$userip.date("Y-m-d H:i:s").$POST."\r\n");
fclose($hanlder);

这样输出格式为 IP+时间+POST内容
网络 | 评论(0) | 引用(1) | 阅读(6960)
Null
[2013/05/13 08:27]
来源:电视棒软件
内容:分析的很透彻,很欣赏你的看法,学习了。
分页: 1/1 第一页 1 最后页
 
发表评论
   
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]