/[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.4 - (show annotations)
Thu Mar 6 07:40:14 2025 UTC (12 months, 1 week ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
FILE REMOVED
Remove legacy code

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"])?mysql_escape_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