﻿{"id":1797,"date":"2007-02-23T21:14:28","date_gmt":"2007-02-23T13:14:28","guid":{"rendered":"http:\/\/jilin.hydesign.tw\/?p=1797"},"modified":"2021-10-23T21:26:34","modified_gmt":"2021-10-23T13:26:34","slug":"php-setting","status":"publish","type":"post","link":"http:\/\/jilin.hydesign.tw\/index.php\/2007\/02\/23\/php-setting\/","title":{"rendered":"PHP Setting"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u8cc7\u6599\u5eab\u9023\u7d50<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">\u9023\u7d50SQL<\/h4>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?\n     \/\/\u55ae\u7b46\u8cc7\u6599\n     \/\/Sql   \u9078\u64c7 \u5168\u90e8\u6b04\u4f4d \u5f9e\u67e5\u8a62\u7684\u8cc7\u6599\u8868 \u7576 ID \u7b49\u65bc \u50b3\u905e\u904e\u4f86\u7684POST.ID \u6216\u7db2\u5740\u5217\u7684 $_GET[ID]\n     $sql = \"SELECT * FROM `\u8cc7\u6599\u8868\u540d\u7a31` WHERE ID = '$_POST[ID]'\";\n     $rs = @mysql_query($sql);\n     $row = @mysql_fetch_assoc($rs);\n     @mysql_free_result($rs);\n?>\n     \n&lt;?\n     \/\/\u8ff4\u5708\u67e5\u8a62\u8cc7\u6599\n     \/\/Sql   \u9078\u64c7 \u5168\u90e8\u6b04\u4f4d \u5f9e\u67e5\u8a62\u7684\u8cc7\u6599\u8868 \u7576 ID \u7b49\u65bc \u50b3\u905e\u904e\u4f86\u7684POST.ID \u6216\u7db2\u5740\u5217\u7684 $_GET[ID]\n     $sql = \"SELECT * FROM `\u8cc7\u6599\u8868\u540d\u7a31` WHERE ID = '$_POST[ID]'\";\n     $rs = @mysql_query($sql);\n     while($row = @mysql_fetch_assoc($rs))\n     {\n      echo '\u8ff4\u5708\u5167\u5bb9'; \n     }\n     @mysql_free_result($rs);\n?><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u6a94\u6848\u9023\u7d50<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php include \"\u6a94\u6848\u540d\u7a31.php\"; ?>\n\/*\u77ed\u6a19\u7c64*\/&lt;? include \"\u6a94\u6848\u540d\u7a31.php\"; ?><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u8cc7\u6599\u5eab\u9023\u7d50 \u9023\u7d50SQL \u6a94\u6848\u9023\u7d50<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,29,4],"tags":[],"class_list":["post-1797","post","type-post","status-publish","format-standard","hentry","category-php","category-program","category-notes"],"_links":{"self":[{"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/posts\/1797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/comments?post=1797"}],"version-history":[{"count":2,"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/posts\/1797\/revisions"}],"predecessor-version":[{"id":1799,"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/posts\/1797\/revisions\/1799"}],"wp:attachment":[{"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/media?parent=1797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/categories?post=1797"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jilin.hydesign.tw\/index.php\/wp-json\/wp\/v2\/tags?post=1797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}