[教學](2.07~)在wog only中加入紀錄IP功能

版主: 涅魂, 簫哥


ETERNAL
 
文章: 2937
註冊時間: 2003-12-03 11:08 pm
性別: 男生

[教學](2.07~)在wog only中加入紀錄IP功能

文章ETERNAL » 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中

代碼: 選擇全部
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'];




回到 外掛區

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 7 位訪客