{"id":431,"date":"2012-02-11T11:49:31","date_gmt":"2012-02-11T03:49:31","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=431"},"modified":"2012-02-11T11:49:55","modified_gmt":"2012-02-11T03:49:55","slug":"php%e4%b8%ba%e5%8e%9f%e6%9d%a5%e7%9a%84%e7%a8%8b%e5%ba%8f%e5%81%9a%e4%b8%80%e4%b8%aa%e6%ad%a3%e7%bb%8f%e5%86%85%e5%ae%b9%e7%9a%84%e6%95%b0%e6%8d%ae%e5%ba%93","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/431","title":{"rendered":"php\u4e3a\u539f\u6765\u7684\u7a0b\u5e8f\u505a\u4e00\u4e2a\u6b63\u7ecf\u5185\u5bb9\u7684\u6570\u636e\u5e93"},"content":{"rendered":"

\u7531\u4e8e\u539f\u6765\u7684\u6dd8\u5b9d\u5ba2\u7a0b\u5e8f\u6ca1\u6709\u4e00\u4e2a\u5c55\u793a\u6b63\u7ecf\u5185\u5bb9\u7684\u6570\u636e\u8868\uff0c\u4eca\u5929\u6765\u505a\u4e00\u4e0b\u3002\u8fd9\u6837\u4e00\u6765\u4e5f\u53ef\u4ee5\u5728\u9996\u9875\u5c55\u793a\u66f4\u591a\u5185\u5bb9\u76f8\u5173\u7684\u5173\u952e\u8bcd\u3002\u5173\u952e\u662f\u52a0\u4e0a\u706b\u8f66\u5934\u91c7\u96c6\uff0c\u518d\u6765\u81ea\u52a8\u5185\u5bb9\u66f4\u65b0\uff0c\u53ea\u8981\u627e\u4e00\u4e2a\u5e38\u6709\u6587\u7ae0\u66f4\u65b0\u7684\u7f51\u7ad9\u5c31\u884c\u5566\u3002ok,here we go\u3002<\/p>\n

\u9996\u5148\u8981\u6765\u4e00\u4e2a\u5efa\u8868\u7684php\uff0c\u76f4\u63a5\u4e0a\u4ee3\u7801\uff1a<\/p>\n

<\/p>\n

<?php
require(‘..\/configs\/config.php’);
######2012-02-11<\/p>\n

$sql_cre_article_good=mysql_query(“CREATE TABLE IF NOT EXISTS `article_good` (
`id` int(100) NOT NULL auto_increment,
`title` varchar(200) CHARACTER SET utf-8 COLLATE utf-8_chinese_ci NOT NULL,
`keyword` varchar(200) CHARACTER SET utf-8 COLLATE utf-8_chinese_ci NOT NULL,
`description` varchar(500) CHARACTER SET utf-8 COLLATE utf-8_chinese_ci NOT NULL,<\/p>\n

`article` varchar(20) CHARACTER SET utf-8 COLLATE utf-8_chinese_ci NOT NULL,
`addtime` datetime NOT NULL,<\/p>\n

PRIMARY KEY (`id`)
)”);<\/p>\n

if($sql_cre_article_good) echo “\u6587\u7ae0\u8868\uff0darticle_good\uff0d\u521b\u5efa\u6210\u529f\uff01”.”<br>”;<\/p>\n

else echo “\u6587\u7ae0\u8868\uff0darticle_good\uff0d\u521b\u5efa\u5931\u8d25\u6216\u5df2\u5b58\u5728\uff0c\u8bf7\u67e5\u770b\uff01”;<\/p>\n

###########<\/p>\n

?><\/p>\n

\u524d\u53f0\u663e\u793a\u4e0d\u96be\uff0c\u5c31\u4e0d\u7d6e\u53e8\u4e86\u3002\u5475<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7531\u4e8e\u539f\u6765\u7684\u6dd8\u5b9d\u5ba2\u7a0b\u5e8f\u6ca1\u6709\u4e00\u4e2a\u5c55\u793a\u6b63\u7ecf\u5185\u5bb9\u7684\u6570\u636e\u8868\uff0c\u4eca\u5929\u6765\u505a\u4e00\u4e0b\u3002\u8fd9\u6837\u4e00\u6765\u4e5f\u53ef\u4ee5\u5728\u9996\u9875\u5c55\u793a\u66f4\u591a\u5185\u5bb9\u76f8\u5173\u7684\u5173\u952e\u8bcd\u3002\u5173\u952e\u662f\u52a0\u4e0a\u706b\u8f66\u5934\u91c7\u96c6\uff0c\u518d\u6765\u81ea\u52a8\u5185\u5bb9\u66f4\u65b0\uff0c\u53ea\u8981\u627e\u4e00\u4e2a\u5e38\u6709\u6587\u7ae0\u66f4\u65b0\u7684\u7f51\u7ad9\u5c31\u884c\u5566\u3002ok,here we go\u3002 \u9996\u5148\u8981\u6765\u4e00\u4e2a\u5efa\u8868\u7684php\uff0c\u76f4\u63a5\u4e0a\u4ee3\u7801\uff1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,9],"tags":[63],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/431"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":1,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":432,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/431\/revisions\/432"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}