{"id":2301,"date":"2023-05-15T23:49:09","date_gmt":"2023-05-15T15:49:09","guid":{"rendered":"https:\/\/www.tra56.com\/?p=2301"},"modified":"2023-05-15T23:49:09","modified_gmt":"2023-05-15T15:49:09","slug":"2301","status":"publish","type":"post","link":"https:\/\/www.tra56.com\/2301.html","title":{"rendered":"php mysql \u5c01\u88c5\u7c7b\u5b9e\u4f8b\u4ee3\u7801 PHP5\u4ee5\u53ca\u4ee5\u524d\u7248\u672c"},"content":{"rendered":"
<?php\r\nclass mysql {\r\nprivate $db_host; \/\/\u6570\u636e\u5e93\u4e3b\u673a\r\nprivate $db_user; \/\/\u6570\u636e\u5e93\u7528\u6237\u540d\r\nprivate $db_pwd; \/\/\u6570\u636e\u5e93\u7528\u6237\u540d\u5bc6\u7801\r\nprivate $db_database; \/\/\u6570\u636e\u5e93\u540d\r\nprivate $conn; \/\/\u6570\u636e\u5e93\u8fde\u63a5\u6807\u8bc6;\r\nprivate $result; \/\/\u6267\u884cquery\u547d\u4ee4\u7684\u7ed3\u679c\u8d44\u6e90\u6807\u8bc6\r\nprivate $sql; \/\/sql\u6267\u884c\u8bed\u53e5\r\nprivate $row; \/\/\u8fd4\u56de\u7684\u6761\u76ee\u6570\r\nprivate $coding; \/\/\u6570\u636e\u5e93\u7f16\u7801\uff0cutf-8,UTF8,utf-8\r\nprivate $bulletin = true; \/\/\u662f\u5426\u5f00\u542f\u9519\u8bef\u8bb0\u5f55\r\nprivate $show_error = false; \/\/\u6d4b\u8bd5\u9636\u6bb5\uff0c\u663e\u793a\u6240\u6709\u9519\u8bef,\u5177\u6709\u5b89\u5168\u9690\u60a3,\u9ed8\u8ba4\u5173\u95ed\r\nprivate $is_error = false; \/\/\u53d1\u73b0\u9519\u8bef\u662f\u5426\u7acb\u5373\u7ec8\u6b62,\u9ed8\u8ba4true,\u5efa\u8bae\u4e0d\u542f\u7528\uff0c\u56e0\u4e3a\u5f53\u6709\u95ee\u9898\u65f6\u7528\u6237\u4ec0\u4e48\u4e5f\u770b\u4e0d\u5230\u662f\u5f88\u82e6\u607c\u7684\r\n\/*\u6784\u9020\u51fd\u6570*\/\r\npublic function __construct($db_host, $db_user, $db_pwd, $db_database, $conn, $coding) {\r\n$this->db_host = $db_host;\r\n$this->db_user = $db_user;\r\n$this->db_pwd = $db_pwd;\r\n$this->db_database = $db_database;\r\n$this->conn = $conn;\r\n$this->coding = $coding;\r\n$this->connect();\r\n}\r\n\/*\u6570\u636e\u5e93\u8fde\u63a5*\/\r\npublic function connect() {\r\nif ($this->conn == "pconn") {\r\n\/\/\u6c38\u4e45\u94fe\u63a5\r\n$this->conn = mysql_pconnect($this->db_host, $this->db_user, $this->db_pwd);\r\n} else {\r\n\/\/\u5373\u4f7f\u94fe\u63a5\r\n$this->conn = mysql_connect($this->db_host, $this->db_user, $this->db_pwd);\r\n}\r\nif (!mysql_select_db($this->db_database, $this->conn)) {\r\nif ($this->show_error) {\r\n$this->show_error("\u6570\u636e\u5e93\u4e0d\u53ef\u7528\uff1a", $this->db_database);\r\n}\r\n}\r\nmysql_query("SET NAMES $this->coding");\r\n}\r\n\/*\u6570\u636e\u5e93\u6267\u884c\u8bed\u53e5\uff0c\u53ef\u6267\u884c\u67e5\u8be2\u6dfb\u52a0\u4fee\u6539\u5220\u9664\u7b49\u4efb\u4f55sql\u8bed\u53e5*\/\r\npublic function query($sql) {\r\nif ($sql == "") {\r\n$this->show_error("SQL\u8bed\u53e5\u9519\u8bef\uff1a", "SQL\u67e5\u8be2\u8bed\u53e5\u4e3a\u7a7a");\r\n}\r\n$this->sql = $sql;\r\n$result = mysql_query($this->sql, $this->conn);\r\nif (!$result) {\r\n\/\/\u8c03\u8bd5\u4e2d\u4f7f\u7528\uff0csql\u8bed\u53e5\u51fa\u9519\u65f6\u4f1a\u81ea\u52a8\u6253\u5370\u51fa\u6765\r\nif ($this->show_error) {\r\n$this->show_error("\u9519\u8befSQL\u8bed\u53e5\uff1a", $this->sql);\r\n}\r\n} else {\r\n$this->result = $result;\r\n}\r\nreturn $this->result;\r\n}\r\n\/*\u521b\u5efa\u6dfb\u52a0\u65b0\u7684\u6570\u636e\u5e93*\/\r\npublic function create_database($database_name) {\r\n$database = $database_name;\r\n$sqlDatabase = 'create database ' . $database;\r\n$this->query($sqlDatabase);\r\n}\r\n\/*\u67e5\u8be2\u670d\u52a1\u5668\u6240\u6709\u6570\u636e\u5e93*\/\r\n\/\/\u5c06\u7cfb\u7edf\u6570\u636e\u5e93\u4e0e\u7528\u6237\u6570\u636e\u5e93\u5206\u5f00\uff0c\u66f4\u76f4\u89c2\u7684\u663e\u793a\uff1f\r\npublic function show_databases() {\r\n$this->query("show databases");\r\necho "\u73b0\u6709\u6570\u636e\u5e93\uff1a" . $amount = $this->db_num_rows($rs);\r\necho "<br \/>";\r\n$i = 1;\r\nwhile ($row = $this->fetch_array($rs)) {\r\necho "$i $row[Database]";\r\necho "<br \/>";\r\n$i++;\r\n}\r\n}\r\n\/\/\u4ee5\u6570\u7ec4\u5f62\u5f0f\u8fd4\u56de\u4e3b\u673a\u4e2d\u6240\u6709\u6570\u636e\u5e93\u540d\r\npublic function databases() {\r\n$rsPtr = mysql_list_dbs($this->conn);\r\n$i = 0;\r\n$cnt = mysql_num_rows($rsPtr);\r\nwhile ($i < $cnt) {\r\n$rs[] = mysql_db_name($rsPtr, $i);\r\n$i++;\r\n}\r\nreturn $rs;\r\n}\r\n\/*\u67e5\u8be2\u6570\u636e\u5e93\u4e0b\u6240\u6709\u7684\u8868*\/\r\npublic function show_tables($database_name) {\r\n$this->query("show tables");\r\necho "\u73b0\u6709\u6570\u636e\u5e93\uff1a" . $amount = $this->db_num_rows($rs);\r\necho "<br \/>";\r\n$i = 1;\r\nwhile ($row = $this->fetch_array($rs)) {\r\n$columnName = "Tables_in_" . $database_name;\r\necho "$i $row[$columnName]";\r\necho "<br \/>";\r\n$i++;\r\n}\r\n}\r\n\/*\r\nmysql_fetch_row() array $row[0],$row[1],$row[2]\r\nmysql_fetch_array() array $row[0] \u6216 $row[id]\r\nmysql_fetch_assoc() array \u7528$row->content \u5b57\u6bb5\u5927\u5c0f\u5199\u654f\u611f\r\nmysql_fetch_object() object \u7528$row[id],$row[content] \u5b57\u6bb5\u5927\u5c0f\u5199\u654f\u611f\r\n*\/\r\n\/*\u53d6\u5f97\u7ed3\u679c\u6570\u636e*\/\r\npublic function mysql_result_li() {\r\nreturn mysql_result($str);\r\n}\r\n\/*\u53d6\u5f97\u8bb0\u5f55\u96c6,\u83b7\u53d6\u6570\u7ec4-\u7d22\u5f15\u548c\u5173\u8054,\u4f7f\u7528$row['content'] *\/\r\npublic function fetch_array($resultt="") {\r\nif($resultt<>""){\r\nreturn mysql_fetch_array($resultt);\r\n}else{\r\nreturn mysql_fetch_array($this->result);\r\n}\r\n}\r\n\/\/\u83b7\u53d6\u5173\u8054\u6570\u7ec4,\u4f7f\u7528$row['\u5b57\u6bb5\u540d']\r\npublic function fetch_assoc() {\r\nreturn mysql_fetch_assoc($this->result);\r\n}\r\n\/\/\u83b7\u53d6\u6570\u5b57\u7d22\u5f15\u6570\u7ec4,\u4f7f\u7528$row[0],$row[1],$row[2]\r\npublic function fetch_row() {\r\nreturn mysql_fetch_row($this->result);\r\n}\r\n\/\/\u83b7\u53d6\u5bf9\u8c61\u6570\u7ec4,\u4f7f\u7528$row->content\r\npublic function fetch_Object() {\r\nreturn mysql_fetch_object($this->result);\r\n}\r\n\/\/\u7b80\u5316\u67e5\u8be2select\r\npublic function findall($table) {\r\n$this->query("SELECT * FROM $table");\r\n}\r\n\/\/\u7b80\u5316\u67e5\u8be2select\r\npublic function select($table, $columnName = "*", $condition = '', $debug = '') {\r\n$condition = $condition ? ' Where ' . $condition : NULL;\r\nif ($debug) {\r\necho "SELECT $columnName FROM $table $condition";\r\n} else {\r\n$this->query("SELECT $columnName FROM $table $condition");\r\n}\r\n}\r\n\/\/\u7b80\u5316\u5220\u9664del\r\npublic function delete($table, $condition, $url = '') {\r\nif ($this->query("DELETE FROM $table WHERE $condition")) {\r\nif (!empty ($url))\r\n$this->Get_admin_msg($url, '\u5220\u9664\u6210\u529f\uff01');\r\n}\r\n}\r\n\/\/\u7b80\u5316\u63d2\u5165insert\r\npublic function insert($table, $columnName, $value, $url = '') {\r\nif ($this->query("INSERT INTO $table ($columnName) VALUES ($value)")) {\r\nif (!empty ($url))\r\n$this->Get_admin_msg($url, '\u6dfb\u52a0\u6210\u529f\uff01');\r\n}\r\n}\r\n\/\/\u7b80\u5316\u4fee\u6539update\r\npublic function update($table, $mod_content, $condition, $url = '') {\r\n\/\/echo "UPDATE $table SET $mod_content WHERE $condition"; exit();\r\nif ($this->query("UPDATE $table SET $mod_content WHERE $condition")) {\r\nif (!empty ($url))\r\n$this->Get_admin_msg($url);\r\n}\r\n}\r\n\/*\u53d6\u5f97\u4e0a\u4e00\u6b65 INSERT \u64cd\u4f5c\u4ea7\u751f\u7684 ID*\/\r\npublic function insert_id() {\r\nreturn mysql_insert_id();\r\n}\r\n\/\/\u6307\u5411\u786e\u5b9a\u7684\u4e00\u6761\u6570\u636e\u8bb0\u5f55\r\npublic function db_data_seek($id) {\r\nif ($id > 0) {\r\n$id = $id -1;\r\n}\r\nif (!@ mysql_data_seek($this->result, $id)) {\r\n$this->show_error("SQL\u8bed\u53e5\u6709\u8bef\uff1a", "\u6307\u5b9a\u7684\u6570\u636e\u4e3a\u7a7a");\r\n}\r\nreturn $this->result;\r\n}\r\n\/\/ \u6839\u636eselect\u67e5\u8be2\u7ed3\u679c\u8ba1\u7b97\u7ed3\u679c\u96c6\u6761\u6570\r\npublic function db_num_rows() {\r\nif ($this->result == null) {\r\nif ($this->show_error) {\r\n$this->show_error("SQL\u8bed\u53e5\u9519\u8bef", "\u6682\u65f6\u4e3a\u7a7a\uff0c\u6ca1\u6709\u4efb\u4f55\u5185\u5bb9\uff01");\r\n}\r\n} else {\r\nreturn mysql_num_rows($this->result);\r\n}\r\n}\r\n\/\/ \u6839\u636einsert,update,delete\u6267\u884c\u7ed3\u679c\u53d6\u5f97\u5f71\u54cd\u884c\u6570\r\npublic function db_affected_rows() {\r\nreturn mysql_affected_rows();\r\n}\r\n\/\/\u8f93\u51fa\u663e\u793asql\u8bed\u53e5\r\npublic function show_error($message = "", $sql = "") {\r\nif (!$sql) {\r\necho "<font color='red'>" . $message . "<\/font>";\r\necho "<br \/>";\r\n} else {\r\necho "<fieldset>";\r\necho "<legend>\u9519\u8bef\u4fe1\u606f\u63d0\u793a:<\/legend><br \/>";\r\necho "<div style='font-size:14px; clear:both; font-family:Verdana, Arial, Helvetica, sans-serif;'>";\r\necho "<div style='height:20px; background:#000000; border:1px #000000 solid'>";\r\necho "<font color='white'>\u9519\u8bef\u53f7\uff1a12142<\/font>";\r\necho "<\/div><br \/>";\r\necho "\u9519\u8bef\u539f\u56e0\uff1a" . mysql_error() . "<br \/><br \/>";\r\necho "<div style='height:20px; background:#FF0000; border:1px #FF0000 solid'>";\r\necho "<font color='white'>" . $message . "<\/font>";\r\necho "<\/div>";\r\necho "<font color='red'><pre>" . $sql . "<\/pre><\/font>";\r\n$ip = $this->getip();\r\nif ($this->bulletin) {\r\n$time = date("Y-m-d H:i:s");\r\n$message = $message . "\\r\\n$this->sql" . "\\r\\n\u5ba2\u6237IP:$ip" . "\\r\\n\u65f6\u95f4 :$time" . "\\r\\n\\r\\n";\r\n$server_date = date("Y-m-d");\r\n$filename = $server_date . ".txt";\r\n$file_path = "error\/" . $filename;\r\n$error_content = $message;\r\n\/\/$error_content="\u9519\u8bef\u7684\u6570\u636e\u5e93\uff0c\u4e0d\u53ef\u4ee5\u94fe\u63a5";\r\n$file = "error"; \/\/\u8bbe\u7f6e\u6587\u4ef6\u4fdd\u5b58\u76ee\u5f55\r\n\/\/\u5efa\u7acb\u6587\u4ef6\u5939\r\nif (!file_exists($file)) {\r\nif (!mkdir($file, 0777)) {\r\n\/\/\u9ed8\u8ba4\u7684 mode \u662f 0777\uff0c\u610f\u5473\u7740\u6700\u5927\u53ef\u80fd\u7684\u8bbf\u95ee\u6743\r\ndie("upload files directory does not exist and creation failed");\r\n}\r\n}\r\n\/\/\u5efa\u7acbtxt\u65e5\u671f\u6587\u4ef6\r\nif (!file_exists($file_path)) {\r\n\/\/echo "\u5efa\u7acb\u65e5\u671f\u6587\u4ef6";\r\nfopen($file_path, "w+");\r\n\/\/\u9996\u5148\u8981\u786e\u5b9a\u6587\u4ef6\u5b58\u5728\u5e76\u4e14\u53ef\u5199\r\nif (is_writable($file_path)) {\r\n\/\/\u4f7f\u7528\u6dfb\u52a0\u6a21\u5f0f\u6253\u5f00$filename\uff0c\u6587\u4ef6\u6307\u9488\u5c06\u4f1a\u5728\u6587\u4ef6\u7684\u5f00\u5934\r\nif (!$handle = fopen($file_path, 'a')) {\r\necho "\u4e0d\u80fd\u6253\u5f00\u6587\u4ef6 $filename";\r\nexit;\r\n}\r\n\/\/\u5c06$somecontent\u5199\u5165\u5230\u6211\u4eec\u6253\u5f00\u7684\u6587\u4ef6\u4e2d\u3002\r\nif (!fwrite($handle, $error_content)) {\r\necho "\u4e0d\u80fd\u5199\u5165\u5230\u6587\u4ef6 $filename";\r\nexit;\r\n}\r\n\/\/echo "\u6587\u4ef6 $filename \u5199\u5165\u6210\u529f";\r\necho "\u2014\u2014\u9519\u8bef\u8bb0\u5f55\u88ab\u4fdd\u5b58!";\r\n\/\/\u5173\u95ed\u6587\u4ef6\r\nfclose($handle);\r\n} else {\r\necho "\u6587\u4ef6 $filename \u4e0d\u53ef\u5199";\r\n}\r\n} else {\r\n\/\/\u9996\u5148\u8981\u786e\u5b9a\u6587\u4ef6\u5b58\u5728\u5e76\u4e14\u53ef\u5199\r\nif (is_writable($file_path)) {\r\n\/\/\u4f7f\u7528\u6dfb\u52a0\u6a21\u5f0f\u6253\u5f00$filename\uff0c\u6587\u4ef6\u6307\u9488\u5c06\u4f1a\u5728\u6587\u4ef6\u7684\u5f00\u5934\r\nif (!$handle = fopen($file_path, 'a')) {\r\necho "\u4e0d\u80fd\u6253\u5f00\u6587\u4ef6 $filename";\r\nexit;\r\n}\r\n\/\/\u5c06$somecontent\u5199\u5165\u5230\u6211\u4eec\u6253\u5f00\u7684\u6587\u4ef6\u4e2d\u3002\r\nif (!fwrite($handle, $error_content)) {\r\necho "\u4e0d\u80fd\u5199\u5165\u5230\u6587\u4ef6 $filename";\r\nexit;\r\n}\r\n\/\/echo "\u6587\u4ef6 $filename \u5199\u5165\u6210\u529f";\r\necho "\u2014\u2014\u9519\u8bef\u8bb0\u5f55\u88ab\u4fdd\u5b58!";\r\n\/\/\u5173\u95ed\u6587\u4ef6\r\nfclose($handle);\r\n} else {\r\necho "\u6587\u4ef6 $filename \u4e0d\u53ef\u5199";\r\n}\r\n}\r\n}\r\necho "<br \/>";\r\nif ($this->is_error) {\r\nexit;\r\n}\r\n}\r\necho "<\/div>";\r\necho "<\/fieldset>";\r\necho "<br \/>";\r\n}\r\n\/\/\u91ca\u653e\u7ed3\u679c\u96c6\r\npublic function free() {\r\n@ mysql_free_result($this->result);\r\n}\r\n\/\/\u6570\u636e\u5e93\u9009\u62e9\r\npublic function select_db($db_database) {\r\nreturn mysql_select_db($db_database);\r\n}\r\n\/\/\u67e5\u8be2\u5b57\u6bb5\u6570\u91cf\r\npublic function num_fields($table_name) {\r\n\/\/return mysql_num_fields($this->result);\r\n$this->query("select * from $table_name");\r\necho "<br \/>";\r\necho "\u5b57\u6bb5\u6570\uff1a" . $total = mysql_num_fields($this->result);\r\necho "<pre>";\r\nfor ($i = 0; $i < $total; $i++) {\r\nprint_r(mysql_fetch_field($this->result, $i));\r\n}\r\necho "<\/pre>";\r\necho "<br \/>";\r\n}\r\n\/\/\u53d6\u5f97 MySQL \u670d\u52a1\u5668\u4fe1\u606f\r\npublic function mysql_server($num = '') {\r\nswitch ($num) {\r\ncase 1 :\r\nreturn mysql_get_server_info(); \/\/MySQL \u670d\u52a1\u5668\u4fe1\u606f\r\nbreak;\r\ncase 2 :\r\nreturn mysql_get_host_info(); \/\/\u53d6\u5f97 MySQL \u4e3b\u673a\u4fe1\u606f\r\nbreak;\r\ncase 3 :\r\nreturn mysql_get_client_info(); \/\/\u53d6\u5f97 MySQL \u5ba2\u6237\u7aef\u4fe1\u606f\r\nbreak;\r\ncase 4 :\r\nreturn mysql_get_proto_info(); \/\/\u53d6\u5f97 MySQL \u534f\u8bae\u4fe1\u606f\r\nbreak;\r\ndefault :\r\nreturn mysql_get_client_info(); \/\/\u9ed8\u8ba4\u53d6\u5f97mysql\u7248\u672c\u4fe1\u606f\r\n}\r\n}\r\n\/\/\u6790\u6784\u51fd\u6570\uff0c\u81ea\u52a8\u5173\u95ed\u6570\u636e\u5e93,\u5783\u573e\u56de\u6536\u673a\u5236\r\npublic function __destruct() {\r\nif (!empty ($this->result)) {\r\n$this->free();\r\n}\r\nmysql_close($this->conn);\r\n} \/\/function __destruct();\r\n\/*\u83b7\u5f97\u5ba2\u6237\u7aef\u771f\u5b9e\u7684IP\u5730\u5740*\/\r\nfunction getip() {\r\nif (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown")) {\r\n$ip = getenv("HTTP_CLIENT_IP");\r\n} else\r\nif (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown")) {\r\n$ip = getenv("HTTP_X_FORWARDED_FOR");\r\n} else\r\nif (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown")) {\r\n$ip = getenv("REMOTE_ADDR");\r\n} else\r\nif (isset ($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] && strcasecmp($_SERVER['REMOTE_ADDR'], "unknown")) {\r\n$ip = $_SERVER['REMOTE_ADDR'];\r\n} else {\r\n$ip = "unknown";\r\n}\r\nreturn ($ip);\r\n}\r\nfunction inject_check($sql_str) { \/\/\u9632\u6b62\u6ce8\u5165\r\n$check = eregi('select|insert|update|delete|\\'|\\\/\\*|\\*|\\.\\.\\\/|\\.\\\/|union|into|load_file|outfile', $sql_str);\r\nif ($check) {\r\necho "\u8f93\u5165\u975e\u6cd5\u6ce8\u5165\u5185\u5bb9\uff01";\r\nexit ();\r\n} else {\r\nreturn $sql_str;\r\n}\r\n}\r\nfunction checkurl() { \/\/\u68c0\u67e5\u6765\u8def\r\nif (preg_replace("\/https?:\\\/\\\/([^\\:\\\/]+).*\/i", "\\\\1", $_SERVER['HTTP_REFERER']) !== preg_replace("\/([^\\:]+).*\/", "\\\\1", $_SERVER['HTTP_HOST'])) {\r\nheader("Location: http:\/\/www.dareng.com");\r\nexit();\r\n}\r\n}\r\n}\r\n?><\/pre>\n<\/p>\n","protected":false},"excerpt":{"rendered":"
<?php class mysql { private $db_host; […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,92],"tags":[],"class_list":["post-2301","post","type-post","status-publish","format-standard","hentry","category-php","category-phpcode"],"_links":{"self":[{"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/posts\/2301"}],"collection":[{"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/comments?post=2301"}],"version-history":[{"count":1,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/posts\/2301\/revisions"}],"predecessor-version":[{"id":2302,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/posts\/2301\/revisions\/2302"}],"wp:attachment":[{"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/media?parent=2301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/categories?post=2301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/tags?post=2301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}