消息博客 [英] message blog
问题描述
我正在尝试制作一个消息博客,我已经制作了三个数据库表,在一个表中我想插入用户的IP地址,当前发布消息的时间,标题和裁判..请帮助我..如何可以我做所有的事情
i am trying to make a message blog where i''ve made three database table, in one table i want insert the users ip address , current time of posting message ,header and referee..please help me ..how can i do all the things
推荐答案
i我正在尝试制作一个消息博客我已经制作了三个数据库表,在一个表中,我想插入用户的IP地址,发布消息的当前时间,标题和裁判..请帮助我...我可以做所有的事情
i am trying to make a message blog where i''ve made three database table, in one table i want insert the users ip address , current time of posting message ,header and referee..please help me ..how can i do all the things
Hi isane,
听起来我觉得你对这一切都很陌生,所以我会给你一些指示,但通常论坛最适合那些至少有过这个的人一个人去解决问题。将来我建议你这样做,并将你的问题和相关代码一起发布。
你可以得到用户的IP地址:
[php]
Hi isane,
Welcome to The Scripts.
It sounds to me like you''re pretty new to all this and so I''ll give you a few pointers but normally the forum works best for those who have at least had a go at solving the problem themselves. In future I recommend you do this and post your question along with the relevant code.
You can get the user IP address:
[php]
lcUserIP =
lcUserIP =
REMOTE_ADDR;
[/ php]
当前时间是:
[php]
REMOTE_ADDR;
[/php]
Current time is:
[php]
这篇关于消息博客的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!