帝国cms留言前台ip显示方法

首先打开e\data\template\gbooktemp.txt文件,

找到$query=”select lyid,name,email,`call`,lytime,ip,lytext,

这一行,加入ip,

然后在后台修改留言板模板,加入:<?=$r[ip]?>代码即可。

评论

此博客中的热门博文

FreeBSD安装Pure-FTPd及user manager for PureFTPd

debian lighttpd php ssl

解决nginx出现File not found的问题