[教學](2.07~)在wog only中加入紀錄IP功能
發表於 : 2004-06-28 5:26 pm
Breezee 寫到:
Tried to added
$getip = $HTTP_SERVER_VARS['REMOTE_ADDR'];
in wog_act
can login , can play but the player IP still cannot display in phpmyadmin...
Can you please help ~
If necessary can tell you the password of the database ^_^
Thank you ^^
-----------------------------------------------------------
wog_etc.php中
在
改成
Tried to added
$getip = $HTTP_SERVER_VARS['REMOTE_ADDR'];
in wog_act
can login , can play but the player IP still cannot display in phpmyadmin...
Can you please help ~
If necessary can tell you the password of the database ^_^
Thank you ^^
-----------------------------------------------------------
wog_etc.php中
在
- 代碼: 選擇全部
function peo_view($userid)
{
global $DB_site,$wog_arry,$forum_check;
eval($forum_check);
改成
- 代碼: 選擇全部
function peo_view($userid)
{
global $DB_site,$wog_arry,$forum_check,$HTTP_SERVER_VARS;
eval($forum_check);
$p_ip=$HTTP_SERVER_VARS['REMOTE_ADDR'];