{"id":49679,"date":"2018-09-17T08:40:54","date_gmt":"2018-09-17T02:40:54","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=49679"},"modified":"2018-09-17T08:40:54","modified_gmt":"2018-09-17T02:40:54","slug":"%d0%bf%d0%b5%d1%80%d0%b5%d0%b4%d0%b0%d1%87%d0%b0-%d0%b4%d0%b0%d0%bd%d0%bd%d1%8b%d1%85-%d0%bc%d0%b5%d1%82%d0%be%d0%b4%d0%be%d0%bc-get","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=49679","title":{"rendered":"\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u043c GET"},"content":{"rendered":"<p>\u041c\u0435\u0442\u043e\u0434 GET \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u0442\u0440\u043e\u043a\u0443 URL. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<blockquote><p>http:\/\/ubuntu-desktop.ru\/test.php?a=5<\/p><\/blockquote>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u043d\u0430\u043a\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u0430 &#171;?&#187; \u0438\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u043a\u043e\u043c &#171;&amp;&#187;).<\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 GET. \u0412 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0443\u043a\u0430\u0436\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0430\u0434\u0440\u0435\u0441:<\/p>\n<blockquote><p>http:\/\/ubuntu-desktop.ru\/test.php?a=5&amp;b=3<\/p><\/blockquote>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 test.php \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre class=\"php\" style=\"font-family: monospace; font-size: 12px;\"><span style=\"color: #000088;\">$a<\/span> <span style=\"color: #339933;\">=<\/span> <span style=\"color: #000088;\">$_GET<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #0000ff;\">'a'<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$b<\/span> <span style=\"color: #339933;\">=<\/span> <span style=\"color: #000088;\">$_GET<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #0000ff;\">'b'<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #000088;\">$a<\/span><span style=\"color: #339933;\">*<\/span><span style=\"color: #000088;\">$b<\/span><span style=\"color: #339933;\">;<\/span><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<blockquote><p>15<\/p><\/blockquote>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u044b \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043f\u0440\u043e\u0441 GET. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443 \u0444\u043e\u0440\u043c\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 method=&#187;get&#187;, \u0438 \u0442\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u0435\u0439 \u0444\u043e\u0440\u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0440\u043e\u043a\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430:<\/p>\n<p>HTML<\/p>\n<pre class=\"html4strict\" style=\"font-family: monospace; font-size: 12px;\"><span style=\"color: #009900;\">&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/form.html\"><span style=\"color: #000000; font-weight: bold;\">form<\/span><\/a> <span style=\"color: #000066;\">method<\/span><span style=\"color: #66cc66;\">=<\/span><span style=\"color: #ff0000;\">\"GET\"<\/span>&gt;<\/span>\r\n<span style=\"color: #009900;\">&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/input.html\"><span style=\"color: #000000; font-weight: bold;\">input<\/span><\/a> <span style=\"color: #000066;\">type<\/span><span style=\"color: #66cc66;\">=<\/span><span style=\"color: #ff0000;\">\"text\"<\/span> <span style=\"color: #000066;\">name<\/span><span style=\"color: #66cc66;\">=<\/span><span style=\"color: #ff0000;\">\"a\"<\/span> <span style=\"color: #66cc66;\">\/<\/span>&gt;&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/br.html\"><span style=\"color: #000000; font-weight: bold;\">br<\/span><\/a>&gt;&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/br.html\"><span style=\"color: #000000; font-weight: bold;\">br<\/span><\/a>&gt;<\/span>\r\n<span style=\"color: #009900;\">&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/input.html\"><span style=\"color: #000000; font-weight: bold;\">input<\/span><\/a> <span style=\"color: #000066;\">type<\/span><span style=\"color: #66cc66;\">=<\/span><span style=\"color: #ff0000;\">\"text\"<\/span> <span style=\"color: #000066;\">name<\/span><span style=\"color: #66cc66;\">=<\/span><span style=\"color: #ff0000;\">\"b\"<\/span> <span style=\"color: #66cc66;\">\/<\/span>&gt;&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/br.html\"><span style=\"color: #000000; font-weight: bold;\">br<\/span><\/a>&gt;&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/br.html\"><span style=\"color: #000000; font-weight: bold;\">br<\/span><\/a>&gt;<\/span>\r\n<span style=\"color: #009900;\">&lt;<a href=\"http:\/\/december.com\/html\/4\/element\/input.html\"><span style=\"color: #000000; font-weight: bold;\">input<\/span><\/a> <span style=\"color: #000066;\">type<\/span><span style=\"color: #66cc66;\">=<\/span><span style=\"color: #ff0000;\">\"submit\"<\/span> <span style=\"color: #000066;\">value<\/span><span style=\"color: #66cc66;\">=<\/span><span style=\"color: #ff0000;\">\"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c\"<\/span>&gt;<\/span>\r\n<span style=\"color: #009900;\">&lt;<span style=\"color: #66cc66;\">\/<\/span><a href=\"http:\/\/december.com\/html\/4\/element\/form.html\"><span style=\"color: #000000; font-weight: bold;\">form<\/span><\/a>&gt;<\/span><\/pre>\n<p>PHP<\/p>\n<pre class=\"php\" style=\"font-family: monospace; font-size: 12px;\"><span style=\"color: #000088;\">$a<\/span> <span style=\"color: #339933;\">=<\/span> <span style=\"color: #000088;\">$_GET<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #0000ff;\">'a'<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$b<\/span> <span style=\"color: #339933;\">=<\/span> <span style=\"color: #000088;\">$_GET<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #0000ff;\">'b'<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #000088;\">$a<\/span><span style=\"color: #339933;\">*<\/span><span style=\"color: #000088;\">$b<\/span><span style=\"color: #339933;\">;<\/span><\/pre>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/09\/3478573287890342.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-49680\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/09\/3478573287890342.png\" alt=\"\" width=\"397\" height=\"196\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/09\/3478573287890342.png 397w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/09\/3478573287890342-200x99.png 200w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u0435\u0442\u043e\u0434 GET \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u0442\u0440\u043e\u043a\u0443 URL. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: http:\/\/ubuntu-desktop.ru\/test.php?a=5 \u041f\u043e\u0441\u043b\u0435 \u0437\u043d\u0430\u043a\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u0430 &#171;?&#187; \u0438\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u043a\u043e\u043c &#171;&amp;&#187;). \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 GET. \u0412 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0443\u043a\u0430\u0436\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0430\u0434\u0440\u0435\u0441: http:\/\/ubuntu-desktop.ru\/test.php?a=5&amp;b=3 \u0412 \u0444\u0430\u0439\u043b\u0435 test.php \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434: $a = $_GET[&#8216;a&#8217;]; $b = $_GET[&#8216;b&#8217;]; echo $a*$b; \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":49675,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[],"class_list":["post-49679","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"views":1554,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49679"}],"version-history":[{"count":1,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49679\/revisions"}],"predecessor-version":[{"id":49681,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49679\/revisions\/49681"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/49675"}],"wp:attachment":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49679"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}