{"id":552,"date":"2012-04-17T09:54:55","date_gmt":"2012-04-17T01:54:55","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=552"},"modified":"2012-04-17T09:54:55","modified_gmt":"2012-04-17T01:54:55","slug":"%e5%a6%82%e4%bd%95%e6%89%b9%e9%87%8f%e6%9b%b4%e6%96%b0%e6%95%b0%e6%8d%ae%e5%ba%93","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/552","title":{"rendered":"\u5982\u4f55\u6279\u91cf\u66f4\u65b0\u6570\u636e\u5e93"},"content":{"rendered":"
\u5206\u4eab\u4e00\u4e0b\u5728\u6570\u636e\u5e93\u65b0\u589e\u5b57\u6bb5\u540e\uff0c\u5982\u4f55\u66f4\u65b0\u6570\u636e\u5e93\u3002\u6211\u7684\u65b9\u6cd5\u662f\u76f4\u63a5\u4e0a\u5927\u4e8e\u6570\u636e\u6761\u6570\u7684\u5faa\u73af\uff0c\u4ee5ID\u4e3a\u7d22\u5f15\u3002\u4e0b\u8fb9\u5c31\u662f\u4e00\u4e2a\u4ee3\u7801\uff0c\u5927\u5bb6\u53ef\u53c2\u8003\u4e0b\u3002<\/p>\n
<?php<\/p>\n
require(‘conn.php’);#\u914d\u7f6e\u6587\u4ef6\u8c03\u7528\uff0c\u5fc5\u987b\u7684\u00a0<\/p>\n
for($i=1;$i<=1000;$i++){
\n\u00a0
\n$result=mysql_query(“select * from search_history where id=$i”);<\/p>\n
$data=mysql_fetch_array($result);<\/p>\n
$urlcode=urlencode($data[searchword]);<\/p>\n
mysql_query(“update search_history set urlcode=’$urlcode’ where id=’$i'”);<\/p>\n
}<\/p>\n
?><\/p>\n","protected":false},"excerpt":{"rendered":"
\u5206\u4eab\u4e00\u4e0b\u5728\u6570\u636e\u5e93\u65b0\u589e\u5b57\u6bb5\u540e\uff0c\u5982\u4f55\u66f4\u65b0\u6570\u636e\u5e93\u3002\u6211\u7684\u65b9\u6cd5\u662f\u76f4\u63a5\u4e0a\u5927\u4e8e\u6570\u636e\u6761\u6570\u7684\u5faa\u73af\uff0c\u4ee5ID\u4e3a\u7d22\u5f15\u3002\u4e0b\u8fb9\u5c31\u662f\u4e00\u4e2a\u4ee3\u7801\uff0c\u5927\u5bb6\u53ef\u53c2\u8003\u4e0b\u3002 <?php require(‘conn.php’);#\u914d\u7f6e\u6587\u4ef6\u8c03\u7528\uff0c\u5fc5\u987b\u7684\u00a0 for($i=1;$i<=1000;$i++){ \u00a0 $result=mysql_query(“select * from search_history where id=$i”); $data=mysql_fetch_array($result); $urlcode=urlencode($data[searchword]); my<\/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":[86],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/552"}],"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=552"}],"version-history":[{"count":2,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/552\/revisions"}],"predecessor-version":[{"id":554,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/552\/revisions\/554"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=552"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}