{"id":160,"date":"2017-10-11T08:30:12","date_gmt":"2017-10-11T05:30:12","guid":{"rendered":"http:\/\/huskynet.ru\/0902-16\/?p=160"},"modified":"2020-09-09T12:13:11","modified_gmt":"2020-09-09T09:13:11","slug":"%d0%bb%d0%b0%d0%b1%d0%be%d1%80%d0%b0%d1%82%d0%be%d1%80%d0%bd%d0%b0%d1%8f-php-%e2%84%969-%d0%ba%d0%b0%d0%bb%d1%8c%d0%ba%d1%83%d0%bb%d1%8f%d1%82%d0%be%d1%80-%d0%bd%d0%b0-php-v3","status":"publish","type":"post","link":"https:\/\/huskynet.ru\/lms\/%d0%bb%d0%b0%d0%b1%d0%be%d1%80%d0%b0%d1%82%d0%be%d1%80%d0%bd%d0%b0%d1%8f-php-%e2%84%969-%d0%ba%d0%b0%d0%bb%d1%8c%d0%ba%d1%83%d0%bb%d1%8f%d1%82%d0%be%d1%80-%d0%bd%d0%b0-php-v3\/","title":{"rendered":"\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u0430\u044f PHP \u21169. \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043d\u0430 PHP (v3)"},"content":{"rendered":"<p>\u0412 \u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <strong><em>C:\\OpenSever\\domains\\<\/em><\/strong><strong><em>mysite.ru<\/em><\/strong> \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <em><strong>script_calc_3.php<\/strong><\/em> \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0432\u043e\u0434\u0430 \u0434\u0432\u0443\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0438 \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0440\u043e\u043a:<strong><em><br \/>\n<\/em><\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x = ...\r\ny = ...\r\n\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: ...<\/pre>\n<p>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 <em><strong>script_calc_3.php<\/strong><\/em><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;form method=\"GET\" action=\"script_calc_3.php\"&gt; &lt;!-- \u043d\u0430\u0447\u0430\u043b\u043e html \u0444\u043e\u0440\u043c\u044b --&gt;    \r\n\r\nx: &lt;input type=\"text\" name=\"x\"&gt; &lt;!-- \u043f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 x --&gt; \r\n\r\n&lt;select required name=\"act\"&gt; &lt;!-- \u043f\u043e\u043b\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f --&gt; \r\n&lt;option&gt;&lt;\/option&gt;  \r\n&lt;option value=\"plus\"&gt;\u043f\u043b\u044e\u0441&lt;\/option&gt;  \r\n&lt;option value=\"minus\"&gt;\u043c\u0438\u043d\u0443\u0441&lt;\/option&gt;  \r\n&lt;option value=\"umnogit\"&gt;\u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c&lt;\/option&gt;  \r\n&lt;option value=\"delit\"&gt;\u0434\u0435\u043b\u0438\u0442\u044c&lt;\/option&gt;  \r\n&lt;\/select&gt; \r\n\r\ny: &lt;input type=\"text\" name=\"y\"&gt; &lt;!-- \u043f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 y --&gt;    \r\n&lt;input type=\"submit\" name=\"okbutton\" value=\"\u0440\u0430\u0432\u043d\u043e\" \/&gt; &lt;!-- \u0432\u044b\u0432\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 \u0440\u0430\u0432\u043d\u043e --&gt; \r\n\r\n&lt;\/form&gt; \r\n\r\n&lt;?php \r\nif ($_GET[\"x\"]) \/\/ \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430: \u0431\u044b\u043b\u0438 \u043b\u0438 \u0432\u0432\u0435\u0434\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \r\n{ \r\n$x=$_GET[\"x\"]; \/\/\u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 x \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438  \r\n$y=$_GET[\"y\"]; \/\/\u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 y \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438   \r\n\r\n$act=$_GET[\"act\"];\/\/\u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 act \u0430\u0440\u0438\u0444\u043c\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f (plus,minus,umnogit, delit)  \r\n\r\nif($act==\"plus\") {$res=$x+$y;};  \r\nif($act==\"minus\") {$res=$x-$Y;};  \r\nif($act==\"umnogit\") {$res=$x*$y;};  \r\nif($act==\"delit\") {$res=$x\/$y;};  \r\n\r\n\/* \u0432\u044b\u0448\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 $act, \u0431\u044b\u043b\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0430\u0440\u0438\u0444\u043c\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. \r\n\u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e $res \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f  \r\n*\/  \r\n\r\necho\"&lt;\/p&gt;$x $act $y = $res&lt;\/p&gt;\";\/\/\u0432\u044b\u0432\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \r\n} \r\n?&gt;<\/pre>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-179 aligncenter\" src=\"http:\/\/huskynet.ru\/0902-16\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png\" alt=\"\" width=\"501\" height=\"85\" srcset=\"https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png 501w, https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2-300x51.png 300w, https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2-480x81.png 480w, https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2-100x17.png 100w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/p>\n<p>\u0412\u0432\u043e\u0434\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <strong>x<\/strong> \u0438 <strong>y, <\/strong>\u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0438 \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c<strong> \u0440\u0430\u0432\u043d\u043e<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-180 aligncenter\" src=\"http:\/\/huskynet.ru\/0902-16\/wp-content\/uploads\/2017\/10\/ScreenClip-3.png\" alt=\"\" width=\"506\" height=\"114\" srcset=\"https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-3.png 506w, https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-3-300x68.png 300w, https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-3-100x23.png 100w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/p>\n<p>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0444\u0430\u0439\u043b <strong><em>C:\\OpenSever\\domains\\mysite.ru\\index.php <\/em><\/strong><em>\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c<\/em><em> \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c:<\/em><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\">&lt;p&gt;&lt;a href=\"script_calc_3.php\" target=\"_blank\"&gt;\u0421\u043a\u0440\u0438\u043f\u0442 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430 (3)&lt;\/a&gt;&lt;\/p&gt;<\/pre>\n<div class=\"rcl-rating-box rating-type-post box-like\"><div class=\"rating-wrapper\"><span class=\"vote-heart\"><i class=\"rcli fa-heartbeat\" aria-hidden=\"true\"><\/i><\/span><span class=\"rating-value\"><span class=\"rating-null\">0<\/span><\/span><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0412 \u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 C:\\OpenSever\\domains\\mysite.ru \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043b script_calc_3.php \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0432\u043e\u0434\u0430 \u0434\u0432\u0443\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0438 \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0440\u043e\u043a: x = &#8230; y = &#8230; \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: &#8230; \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 script_calc_3.php &lt;form method=&#187;GET&#187; action=&#187;script_calc_3.php&#187;&gt; &lt;!&#8212; \u043d\u0430\u0447\u0430\u043b\u043e html \u0444\u043e\u0440\u043c\u044b &#8212;&gt; x: &lt;input type=&#187;text&#187; name=&#187;x&#187;&gt; &lt;!&#8212; \u043f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 x &#8212;&gt; &lt;select required name=&#187;act&#187;&gt; &lt;!&#8212; \u043f\u043e\u043b\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f &#8212;&gt; &lt;option&gt;&lt;\/option&gt; &lt;option value=&#187;plus&#187;&gt;\u043f\u043b\u044e\u0441&lt;\/option&gt; &lt;option value=&#187;minus&#187;&gt;\u043c\u0438\u043d\u0443\u0441&lt;\/option&gt; &lt;option value=&#187;umnogit&#187;&gt;\u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c&lt;\/option&gt; &lt;option value=&#187;delit&#187;&gt;\u0434\u0435\u043b\u0438\u0442\u044c&lt;\/option&gt; &lt;\/select&gt; y: &lt;input type=&#187;text&#187; name=&#187;y&#187;&gt; &lt;!&#8212; \u043f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 y &#8212;&gt; &lt;input type=&#187;submit&#187; name=&#187;okbutton&#187; value=&#187;\u0440\u0430\u0432\u043d\u043e&#187; \/&gt; &lt;!&#8212; \u0432\u044b\u0432\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 \u0440\u0430\u0432\u043d\u043e &#8212;&gt; &lt;\/form&gt; &lt;?php if ($_GET[&#171;x&#187;]) \/\/ \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430: \u0431\u044b\u043b\u0438 \u043b\u0438 \u0432\u0432\u0435\u0434\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f { $x=$_GET[&#171;x&#187;]; \/\/\u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 x \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 $y=$_GET[&#171;y&#187;]; \/\/\u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 y \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 $act=$_GET[&#171;act&#187;];\/\/\u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 act \u0430\u0440\u0438\u0444\u043c\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f (plus,minus,umnogit, delit) if($act==&#187;plus&#187;) {$res=$x+$y;}; if($act==&#187;minus&#187;) {$res=$x-$Y;}; if($act==&#187;umnogit&#187;) {$res=$x*$y;}; if($act==&#187;delit&#187;) {$res=$x\/$y;}; \/* \u0432\u044b\u0448\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 $act, \u0431\u044b\u043b\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0430\u0440\u0438\u0444\u043c\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e $res \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f *\/&#8230;<\/p>\n<div class=\"rcl-rating-box rating-type-post box-like\"><div class=\"rating-wrapper\"><span class=\"vote-heart\"><i class=\"rcli fa-heartbeat\" aria-hidden=\"true\"><\/i><\/span><span class=\"rating-value\"><span class=\"rating-null\">0<\/span><\/span><\/div><\/div>","protected":false},"author":1,"featured_media":179,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[1],"tags":[23],"class_list":["post-160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-","tag-0902-17"],"featured_image_urls_v2":{"full":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png",501,85,false],"thumbnail":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2-250x85.png",250,85,true],"medium":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2-300x51.png",300,51,true],"medium_large":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png",501,85,false],"large":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png",501,85,false],"1536x1536":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png",501,85,false],"2048x2048":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png",501,85,false],"post-thumbnail":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png",400,68,false],"course-thumbnail":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png",501,85,false],"lesson-thumbnail":["https:\/\/huskynet.ru\/lms\/wp-content\/uploads\/2017\/10\/ScreenClip-2.png",501,85,false]},"post_excerpt_stackable_v2":"<p>\u0412 \u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 C:\\OpenSever\\domains\\mysite.ru \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043b script_calc_3.php \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0432\u043e\u0434\u0430 \u0434\u0432\u0443\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0438 \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0440\u043e\u043a: x = &#8230; y = &#8230; \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: &#8230; \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 script_calc_3.php &lt;form method=&#187;GET&#187; action=&#187;script_calc_3.php&#187;&gt; &lt;!&#8212; \u043d\u0430\u0447\u0430\u043b\u043e html \u0444\u043e\u0440\u043c\u044b &#8212;&gt; x: &lt;input type=&#187;text&#187; name=&#187;x&#187;&gt; &lt;!&#8212; \u043f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 x &#8212;&gt; &lt;select required name=&#187;act&#187;&gt; &lt;!&#8212; \u043f\u043e\u043b\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f &#8212;&gt; &lt;option&gt;&lt;\/option&gt; &lt;option value=&#187;plus&#187;&gt;\u043f\u043b\u044e\u0441&lt;\/option&gt; &lt;option value=&#187;minus&#187;&gt;\u043c\u0438\u043d\u0443\u0441&lt;\/option&gt; &lt;option value=&#187;umnogit&#187;&gt;\u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c&lt;\/option&gt; &lt;option value=&#187;delit&#187;&gt;\u0434\u0435\u043b\u0438\u0442\u044c&lt;\/option&gt; &lt;\/select&gt; y: &lt;input type=&#187;text&#187; name=&#187;y&#187;&gt; &lt;!&#8212; \u043f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 y &#8212;&gt; &lt;input type=&#187;submit&#187; name=&#187;okbutton&#187; value=&#187;\u0440\u0430\u0432\u043d\u043e&#187; \/&gt; &lt;!&#8212; \u0432\u044b\u0432\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 \u0440\u0430\u0432\u043d\u043e &#8212;&gt; &lt;\/form&gt; &lt;?php if ($_GET[&#171;x&#187;]) \/\/ \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430: \u0431\u044b\u043b\u0438 \u043b\u0438 \u0432\u0432\u0435\u0434\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f { $x=$_GET[&#171;x&#187;];&hellip;<\/p>\n<div class=\"rcl-rating-box rating-type-post box-like\"><div class=\"rating-wrapper\"><span class=\"vote-heart\"><i class=\"rcli fa-heartbeat\" aria-hidden=\"true\"><\/i><\/span><span class=\"rating-value\"><span class=\"rating-null\">0<\/span><\/span><\/div><\/div>","category_list_v2":"<a href=\"https:\/\/huskynet.ru\/lms\/category\/web-%d1%80%d0%b0%d0%b7%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%ba%d0%b0\/\" rel=\"category tag\">WEB \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430<\/a>","author_info_v2":{"name":"\u0413\u043e\u043b\u043e\u0432\u0430\u043d\u043e\u0432 \u041c\u0438\u0445\u0430\u0438\u043b","url":"https:\/\/huskynet.ru\/lms\/account\/?user=1"},"comments_num_v2":"0 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432","_links":{"self":[{"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/comments?post=160"}],"version-history":[{"count":11,"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/posts\/160\/revisions\/215"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/media\/179"}],"wp:attachment":[{"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/media?parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/categories?post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/huskynet.ru\/lms\/wp-json\/wp\/v2\/tags?post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}