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