网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   Blog(博客)/Wiki(维客)/RSS/Cms (https://www.0058.net/forumdisplay.php?f=17)
-   -   WordPress 数据库探究 #5 — wp_comments (https://www.0058.net/showthread.php?t=3326)

car 2008-09-28 08:58 PM

WordPress 数据库探究 #5 — wp_comments
 
wp_comments 表保存你站点上所有的留言,包括所有通过验证的留言,等待审核的留言,垃圾留言和从 其他文章发送过来的 trackbacks 和 pingbacks。我想不需要我告诉你,你就能猜出这个数据表中大部分字段的意思,但是为了以防万一,我列出你可能关心的:


comment_ID — 每条留言的唯一 ID,由 MySQL 自动产生
comment_post_ID — 留言所属日志的 ID
comment_author — 留言者的名字
comment_author_email — 留言者的 email
comment_author_url — 留言者的 URL
comment_author_IP — 留言者的 IP
comment_date — 留言的日期和时间
comment_content — 留言的内容
comment_approved — 留言是否已经通过审核
comment_agent — 留言者的浏览器信息 (如:MSIE,Firefox,Safari 等等)
comment_type — 是否这是条正常的留言,或者 trackback , 或者其他东东
user_id — 如果留言者是博客的注册用户,这里就是它的ID
这个表中还有其他的一些字段,这里就不一一细讲了。


All times are GMT +8. The time now is 03:35 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.