{"id":1694,"date":"2021-04-01T08:41:26","date_gmt":"2021-04-01T06:41:26","guid":{"rendered":"https:\/\/sms.by\/blog\/?p=1694"},"modified":"2021-04-01T08:41:26","modified_gmt":"2021-04-01T06:41:26","slug":"send-sms-to-php","status":"publish","type":"post","link":"https:\/\/sms.dev.progmateq.com\/blog\/send-sms-to-php\/","title":{"rendered":"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0421\u041c\u0421 \u043d\u0430 php"},"content":{"rendered":"<p>SMS.BY \u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u0435, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c API \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u043d\u0430\u0448\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c.<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0412\u0430\u043c \u0431\u044b\u043b\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u043f\u0440\u043e\u0449\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e, \u043c\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 \u043d\u0430 Php, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u043d\u0430\u00a0<strong><!--noindex--><a class=\"external-link\" href=\"https:\/\/github.com\/sms-by-code\/sms-php\" target=\"_blank\" rel=\"nofollow\">GitHub<\/a><!--\/noindex--><\/strong>.<br \/>\n\u041a\u0441\u0442\u0430\u0442\u0438, \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0412\u0430\u0441 \u0436\u0434\u0435\u0442 \u0432\u0438\u0434\u0435\u043e \u0441 \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0421\u041c\u0421 \u043d\u0430 Php.<\/p>\n<h2><strong>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f 4 \u0444\u0430\u0439\u043b\u0430<\/strong><\/h2>\n<p>[cce lang=&#187;php&#187; tab_size=&#187;5&#8243; lines=&#187;14&#8243; width=&#187;860&#8243;]<\/p>\n<p>SMS_BY.php<br \/>\nCountSmsParts.php<br \/>\nTransliterate.php<br \/>\nexamples.php<\/p>\n<p>[\/cce]<\/p>\n<p>SMS_BY.php \u2014 \u044d\u0442\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043f\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0441\u043c\u0441, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u0432, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435.<\/p>\n<p>CountSmsParts.php \u2014 \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u0434\u043b\u0438\u043d\u044b \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043e\u043a ascii \/ unicode.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u043d\u0435\u0435 \u043d\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0441 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u043e\u0439 \u0441\u043c\u0441, \u0442\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0447\u0442\u043e \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u0442\u0440\u0435\u0431\u0443\u0435\u0442 2 \u0431\u0430\u0439\u0442\u0430 \u0432 unicode, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u0438\u043d\u0430 \u0441\u043c\u0441 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u2014 70 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0430 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c\u00a0\u2014 140.<\/p>\n<p>[cce lang=&#187;php&#187; tab_size=&#187;5&#8243; lines=&#187;14&#8243; width=&#187;860&#8243; ]<\/p>\n<p>&#171;lengths&#187; =&gt; [<br \/>\n&amp;#9; &#171;ascii&#187; =&gt; [160, 306, 459, 628, 785, 942, 1071, 1224, 1377, 1530],<br \/>\n&amp;#9; &#171;unicode&#187; =&gt; [70, 134, 201, 252, 315, 378, 469, 536, 603, 670],<br \/>\n]<\/p>\n<p>[\/cce]<\/p>\n<p>\u041d\u043e, \u0432 \u0442\u043e\u0436\u0435 \u0432\u0440\u0435\u043c\u044f, \u0435\u0441\u043b\u0438 \u0443 \u0412\u0430\u0441 \u0431\u043e\u043b\u0435\u0435 2 \u0441\u043c\u0441 \u0432 \u043e\u0434\u043d\u043e\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0438, \u0442\u043e \u0434\u043b\u0438\u043d\u0430\u00a0\u0431\u0443\u0434\u0435\u0442 \u0443\u0436\u0435 \u043c\u0435\u043d\u0435\u0435\u00a070 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 (68 \u0435\u0441\u043b\u0438 \u0442\u043e\u0447\u043d\u0435\u0435), \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043c\u0441 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<p>\u042d\u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0434\u043b\u0438\u043d\u043d\u044b\u0445 \u0441\u043c\u0441, \u0438\u043b\u0438 \u0441\u0442\u0430\u0440\u0430\u0442\u044c\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043c\u0441 \u043a\u043e\u0440\u043e\u0447\u0435.<br \/>\nTransliterate.php \u2014 \u043a\u0430\u043a \u0443\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u043a\u043b\u0430\u0441\u0441 \u043f\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u0443.<br \/>\nexamples.php \u2014 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043f\u043e \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0443 \u0434\u043b\u0438\u043d\u044b \u0441\u043c\u0441-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439.<br \/>\n\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0442\u0430\u043a\u0436\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0412\u0430\u043c \u043d\u0435 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 ucfirst.<\/p>\n<h3><strong>\u0418\u0442\u0430\u043a, \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0432 examples.php<\/strong><\/h3>\n<p>\u0412 \u0441\u0430\u043c\u043e\u043c \u0432\u0435\u0440\u0445\u0443 \u0438\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u043e\u0432.<\/p>\n<p>[cce lang=&#187;php&#187; tab_size=&#187;5&#8243; lines=&#187;14&#8243; width=&#187;860&#8243;]<\/p>\n<p>include(&#8216;SMS_BY.php&#8217;);<br \/>\nrequire_once(&#8216;Transliterate.php&#8217;);<br \/>\nrequire_once(&#8216;CountSmsParts.php&#8217;).<br \/>\n\/\/ \u041a\u043e\u0434 \u0442\u043e\u043a\u0435\u043d\u0430 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u0434\u0435\u0441\u044c: <!--noindex-->https:\/\/app.sms.by\/user-api\/token<!--\/noindex--><\/p>\n<p>$token = &#187;; \/\/ \u041a\u041e\u0414_\u0412\u0410\u0428\u0415\u0413\u041e_\u0422\u041e\u041a\u0415\u041d\u0410<br \/>\n\/\/ \u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430<br \/>\n$phone = &#187;; \/\/ \u041d\u041e\u041c\u0415\u0420 \u0422\u0415\u041b \u0414\u041b\u042f \u0422\u0415\u0421\u0422\u0410<\/p>\n<p>[\/cce]<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0412\u044b \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u0442\u043e\u043a\u0435\u043d \u0438 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u0412\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 (\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d CURL).<\/p>\n<p>\u041a\u043e\u0434 \u0432 example.php \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0431\u043b\u043e\u043a\u043e\u0432 if(false).<\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0438\u043c\u0435\u043d\u043d\u043e \u043c\u0435\u0442\u043e\u0434 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043c if (true).<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043c\u0441:<\/p>\n<p>[cce lang=&#187;php&#187; tab_size=&#187;4&#8243; lines=&#187;14&#8243; width=&#187;860&#8243;]<\/p>\n<p>if (false) {<br \/>\n&amp;#9; echo(&#171;\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e sms-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u043e\u043c\u0435\u0440: $phone&#187;);<br \/>\n&amp;#9; \/** \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f: *\/<br \/>\n&amp;#9; $sms = new SMS_BY($token);<br \/>\n&amp;#9; $res = $sms-&gt;createSMSMessage(&#8216;\u041c\u043e\u0451 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435&#8217;);<br \/>\n&amp;#9; $message_id = $res-&gt;message_id;<br \/>\n&amp;#9; $res2 = $sms-&gt;sendSms($message_id, $phone);<br \/>\n&amp;#9; if ($res2 == false) {<br \/>\n&amp;#9; &amp;#9; echo(&#171;\u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430&#187;);<br \/>\n&amp;#9; } else {<br \/>\n&amp;#9; &amp;#9; echo(&#171;\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e, \u0435\u0433\u043e ID: {$res2-&gt;sms_id}&#187;);<br \/>\n&amp;#9; }<br \/>\n}<\/p>\n<p>[\/cce]<\/p>\n<p>\u041c\u0435\u043d\u044f\u0435\u043c \u0432 \u0431\u043b\u043e\u043a\u0435 \u0432\u044b\u0448\u0435 if(<strong>false<\/strong>) \u043d\u0430 if(true) \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0438 \u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u043c\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0441\u043c\u0441.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<p><a href=\"https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/php_send_sms.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1700\" src=\"https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/php_send_sms-1024x521.png\" alt=\"\u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043c\u0441 \u043d\u0430 Php \u043f\u0440\u0438\u043c\u0435\u0440 \u0444\u043e\u0442\u043e 1\" width=\"1024\" height=\"521\" srcset=\"https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/php_send_sms-1024x521.png 1024w, https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/php_send_sms-300x153.png 300w, https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/php_send_sms-768x391.png 768w, https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/php_send_sms.png 1133w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>\u041a\u0430\u043a \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435\u00a0\u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435.<\/p>\n<p>\u042d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044f \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043d\u0435\u0442 \u043e\u0434\u043e\u0431\u0440\u0435\u043d\u043d\u044b\u0445 \u0410\u043b\u044c\u0444\u0430\u0438\u043c\u0435\u043d (\u0438\u043c\u0435\u043d \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044f). \u0417\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u0410\u043b\u044c\u0444\u0430\u0438\u043c\u044f \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435:\u00a0<!--noindex--><a href=\"https:\/\/app.sms.by\/alphanames\" target=\"_blank\">https:\/\/app.sms.by\/alphanames<\/a><!--\/noindex--><\/p>\n<p>\u0421\u043c\u0441, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d:<\/p>\n<p><a href=\"https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/photo_2021-04-01_12-05-445.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1702\" src=\"https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/photo_2021-04-01_12-05-445.jpg\" alt=\"\u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043c\u0441 \u043d\u0430 Php \u043f\u0440\u0438\u043c\u0435\u0440 \u0444\u043e\u0442\u043e 2\" width=\"417\" height=\"308\" srcset=\"https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/photo_2021-04-01_12-05-445.jpg 591w, https:\/\/sms.dev.progmateq.com\/blog\/wp-content\/uploads\/2021\/04\/photo_2021-04-01_12-05-445-300x221.jpg 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/a><\/p>\n<p>\u0412\u0438\u0434\u0435\u043e, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0421\u041c\u0421 \u043d\u0430 php \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <!--noindex--><a href=\"https:\/\/www.youtube.com\/watch?time_continue=7&amp;v=JJ5JNJnDoT0&amp;feature=emb_title\" target=\"_blank\">\u0437\u0434\u0435\u0441\u044c<\/a><!--\/noindex-->.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SMS.BY \u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u0435, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c API \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u043d\u0430\u0448\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c. \u0427\u0442\u043e\u0431\u044b \u0412\u0430\u043c &hellip; <a title=\"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0421\u041c\u0421 \u043d\u0430 php\" class=\"hm-read-more\" href=\"https:\/\/sms.dev.progmateq.com\/blog\/send-sms-to-php\/\"><span class=\"screen-reader-text\">\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0421\u041c\u0421 \u043d\u0430 php<\/span>\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435<\/a><\/p>\n","protected":false},"author":1,"featured_media":2357,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,16],"tags":[],"class_list":["post-1694","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-for-developers","category-news"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/posts\/1694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/comments?post=1694"}],"version-history":[{"count":0,"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/posts\/1694\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/media\/2357"}],"wp:attachment":[{"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/media?parent=1694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/categories?post=1694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sms.dev.progmateq.com\/blog\/wp-json\/wp\/v2\/tags?post=1694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}