Phpwind cookie问题

Home Home
引用 | 编辑 chris710908
2005-12-05 12:14
楼主
推文 x0
【类型】主程式
【版本】3.01

因为需要用到统计系统~~要查phpwind cookie
使用<?php echo ""; print_r($_COOKIE);?>
查道
Array ( [lastpath] => C:/phpwind/
      [ol_offset] => 101
      [ipfrom] => 台湾
      [winduid] => 1
      [windpwd] =>XX
      [winduser] => 115 8b9aa91e349aec7da538382fe7d3b6c8
)

其中winduser是我统计程式需要的cookie名称~~打入之后可以追踪到会员活动的纪录~~
但是会员编号115 后面的使用者名称是编码后的数字~~这样无法直接显示出哪个会员
请问有办法让cookie里面存的资料是原始会员名称吗?
请教了~~感谢

献花 x0
引用 | 编辑 dycheng81
2005-12-05 12:35
1楼
  
统计程式在global.php程式中加就可以了
会员名的变数是$windid

献花 x0
引用 | 编辑 chris710908
2005-12-05 12:50
2楼
  
下面是引用dycheng81于2005-12-5 12:35发表的 :
统计程式在global.php程式中加就可以了
会员名的变数是$windid


恩~有点不懂耶~统计程式要如何加在global.php中~
因为我的统计程式是套装程式n@log
后台需要输入论坛会员cookie名称
这样就可以读取资料~~
然后会产生统计程式代码~~再贴到index.htm中~~
是要把那段程式贴到global.php中吗?

献花 x0
引用 | 编辑 chris710908
2005-12-10 18:10
3楼
  
大大可以指点迷津吗~~
拜托~~~

献花 x0
引用 | 编辑 martinyueh3
2006-02-11 16:57
4楼
  
你要用winduid去查资料库对应的会员名称

SELECT username FROM pw_members WHERE uid='$_COOKIE[winduid]'

献花 x0