/[LeafOK_CVS]/fenglin/www/log.inc.php
ViewVC logotype

Contents of /fenglin/www/log.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sun Oct 1 14:39:59 2006 UTC (19 years, 5 months ago) by sysadm
Branch: MAIN
Changes since 1.1: +5 -0 lines
Update

1 <?
2 require_once "../lib/client_addr.inc.php";
3 ?>
4 <?
5 $db_conn_log = include "./db_open.inc.php";
6 mysql_query("insert delayed into page_log (dt,ip,UID,tm,script,query) ".
7 "values(now(),'".Client_Address()."',0,0,"."'".
8 $_SERVER["SCRIPT_NAME"]."','".
9 (isset($_SERVER["QUERY_STRING"])?$_SERVER["QUERY_STRING"]:"").
10 "')",$db_conn_log)
11 or die("Add log error!");
12 mysql_close($db_conn_log);
13
14 session_cache_limiter("public");
15
16 /**
17 * Sends http headers
18 */
19 header('Content-Type: text/html; charset=gb2312');
20 ?>

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1