{"id":159649,"date":"2012-11-21T15:31:02","date_gmt":"2012-11-21T11:31:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=159649"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=159649","title":{"rendered":"<span class=\"post_title\">\u0421\u0435\u0440\u0432\u0438\u0441 push-\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 Pushover \u0434\u043b\u044f Android \u0438 iOS \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 PHP<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/58c\/7d4\/631\/58c7d46313c03da29289a53258da0121.png\"\/><br \/>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435, <b>push-\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f<\/b> \u2014 \u044d\u0442\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u043e \u043e\u0431\u044a\u0435\u043c\u0443 \u0432\u0430\u0436\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0438\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0442\u0430\u043a\u0438\u0445 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u0432 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0432\u0435\u0447\u043d\u043e \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0442\u0440\u0430\u0442\u044f \u043d\u0430 \u043d\u0435\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043d\u044b\u0435 \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u0438 \u0438 \u043f\u0430\u043c\u044f\u0442\u044c.<br \/>  \u041d\u0435 \u0431\u0443\u0434\u0443 \u0437\u0434\u0435\u0441\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f, \u0438\u0431\u043e \u044d\u0442\u043e \u0443\u0436\u0435 <a href=\"http:\/\/habrahabr.ru\/company\/ruswizards\/blog\/156811\/\">\u0441\u0434\u0435\u043b\u0430\u043d\u043e<\/a> <a href=\"http:\/\/habrahabr.ru\/post\/116106\/\">\u0434\u043e \u043c\u0435\u043d\u044f<\/a>. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a: \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u0435\u043c\u043e\u043d \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u043d\u0430\u043c.<br \/>  \u0414\u043b\u044f iOS \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 <a href=\"http:\/\/developer.apple.com\/library\/mac\/#documentation\/NetworkingInternet\/Conceptual\/RemoteNotificationsPG\/ApplePushService\/ApplePushService.html\">APNS<\/a>, \u0434\u043b\u044f Android-\u0430 \u2014 <a href=\"http:\/\/developer.android.com\/guide\/google\/gcm\/index.html\">C2DM-GCM<\/a>, \u044f \u0436\u0435 \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439 (\u0433\u0440\u043e\u043c\u043a\u043e) \u0441\u0435\u0440\u0432\u0438\u0441 <a href=\"https:\/\/pushover.net\/\">Pushover<\/a> \u0438 \u0441\u0432\u044f\u0437\u043a\u0435 \u0435\u0433\u043e \u0441 php-\u0441\u0430\u0439\u0442\u043e\u043c.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u0434\u0430\u0447\u0438<\/h4>\n<p>  \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u0440\u0430\u0437 \u0432 \u0434\u0435\u043d\u044c \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0437\u043d\u0430\u0442\u044c \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043a\u0430\u0437\u043e\u0432 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0437\u0430 \u0434\u0435\u043d\u044c \u0438 \u0438\u0445 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438.<br \/>  \u0421\u0430\u0439\u0442 \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 CMS \u043d\u0430 PHP \u0438 mySQL, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0430\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u0438\u043c\u0435\u0435\u0442 \u0441\u0442\u0438\u043b\u044c\u043d\u044b\u0435 iPhone \u0438 Android-\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u044b.<br \/>  \u0421\u0440\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u043e-\u0432\u0430\u0436\u043d\u044b\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u043c.<br \/>  \u041d\u0430\u0434\u043e \u043d\u0430\u0439\u0442\u0438 \u0443\u0441\u043b\u043e\u0432\u043d\u043e \u0431\u0435\u0437\u0433\u0435\u043c\u043e\u0440\u0440\u043e\u0439\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<h4>Pushover<\/h4>\n<p>  Pushover \u2014 \u044d\u0442\u043e \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u0439 <a href=\"https:\/\/pushover.net\">\u0441\u0435\u0440\u0432\u0438\u0441 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439<\/a>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f <a href=\"https:\/\/itunes.apple.com\/us\/app\/pushover-notifications\/id506088175?ls=1&amp;mt=8\">iOS<\/a> \u0438 <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=net.superblock.pushover&amp;ts=1353482264\">Android<\/a>, \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043f\u043e\u0434\u0435\u043b\u043a\u0438 \u0438 \u0434\u043b\u044f BlackBerry \u0438 OS X Mountain Lion. \u0421\u0435\u0440\u0432\u0438\u0441 \u0438\u043c\u0435\u0435\u0442 \u0441\u0432\u043e\u0439 <a href=\"https:\/\/pushover.net\/api\">API<\/a>, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0434\u043e 7.5 \u0442\u044b\u0441\u044f\u0447 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u043c\u0435\u0441\u044f\u0446.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2b4\/1fb\/daa\/2b41fbdaa9cd2a8d6cc5902c9c1909b9.gif\"\/><br \/>  \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u043f\u043e\u043c\u0438\u043c\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0434\u043b\u0438\u043d\u043e\u0439 512 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043a\u0440\u0443\u043f\u043d\u044b\u0439 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a, URL (\u0442\u043e\u0433\u0434\u0430 \u0434\u043b\u0438\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0434\u043e 500) \u0438 \u0435\u0433\u043e \u0442\u0430\u0439\u0442\u043b (\u0432\u0441\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0431\u043b\u043e\u043a\u0430\u043c\u0438, \u043f\u043e\u0442\u043e\u043c\u0443 \u0442\u0430\u043a\u043e\u0435 \u0440\u0430\u0437\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435). \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434 \u043d\u0435\u043a\u0438\u043c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u043c. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u00ab\u0442\u0438\u0445\u0438\u0435\u00bb \u0447\u0430\u0441\u044b, \u043a\u043e\u0433\u0434\u0430 \u0435\u0433\u043e \u043d\u0435 \u0441\u0442\u043e\u0438\u0442\u044c \u0431\u0443\u0434\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f.<br \/>  \u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u043c \u0441\u0432\u043e\u0439 \u043a\u043e\u0434, \u0432\u0441\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u043f\u043e \u0432\u044b\u0431\u043e\u0440\u0443. \u0414\u043b\u044f \u043f\u0440\u0438\u0435\u043c\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u0442\u044c \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0438 \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u0438\u043c \u0440\u0430\u0431\u043e\u0447\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c.<\/p>\n<h5>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/h5>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/478\/880\/96a\/47888096ab048f7083cd6c60a97030f2.png\"\/><br \/>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f <a href=\"https:\/\/pushover.net\/login\">\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438<\/a>, \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u0441\u0432\u043e\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442, \u0433\u0434\u0435 \u043e\u043d \u0441\u0440\u0430\u0437\u0443 \u0432\u0438\u0434\u0438\u0442 \u0441\u0432\u043e\u0439 \u0445\u044d\u0448-\u0442\u043e\u043a\u0435\u043d. \u042d\u0442\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f.<br \/>  \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, \u0436\u0435\u043b\u0430\u044e\u0449\u0435\u043c\u0443 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\/\u043f\u043b\u0430\u043d\u0448\u0435\u0442\/\u0430\u0431\u044b \u0447\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0437 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430.<\/p>\n<h5>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430<\/h5>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043d\u0438\u0447\u0443\u0442\u044c \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u0418\u0437 \u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0430 \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 <a href=\"https:\/\/pushover.net\/apps\/build\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443<\/a> \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0433\u0434\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0434\u0443\u043a\u0442:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/dd3\/91b\/4db\/dd391b4db7e2b83bb97b51f4cd28b950.png\"\/><br \/>  \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043f\u043e\u043b\u0435\u0439, \u043d\u0430\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0442\u043e\u043a\u0435\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u044d\u0442\u043e \u0432\u0441\u0435, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<br \/>  \u041d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439.<\/p>\n<h5>\u0421\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u0435\u0439<\/h5>\n<p>  \u2026 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0438\u043a\u0430\u043a. \u041b\u044e\u0431\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043b\u044e\u0431\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0435\u0442 \u0435\u0433\u043e \u0442\u043e\u043a\u0435\u043d. \u041f\u0440\u0438\u0435\u043c \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043e\u0442 \u043d\u0430\u0441\u0435\u043b\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u043e\u0432\u0435\u0441\u0442\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0422\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0438 \u043e\u0442\u043f\u0438\u0441\u043a\u0430 \u043e\u0442 \u0440\u0430\u0441\u0441\u044b\u043b\u043e\u043a.<\/p>\n<h5>API<\/h5>\n<p>  <a href=\"https:\/\/pushover.net\/api\">\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435<\/a>, \u0435\u043c\u043a\u043e\u0435 \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0435. \u0414\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 POST-\u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043a <i><a href=\"https:\/\/api.pushover.net\/1\/messages.json\">api.pushover.net\/1\/messages.json<\/a><\/i> \u0438\u043b\u0438 <i><a href=\"https:\/\/api.pushover.net\/1\/messages.xml\">api.pushover.net\/1\/messages.xml<\/a><\/i> \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c:  <\/p>\n<ul>\n<li><b>token<\/b> \u2014 \u0445\u044d\u0448-\u0442\u043e\u043a\u0435\u043d \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430.<\/li>\n<li><b>user<\/b> \u2014 \u0445\u044d\u0448-\u0442\u043e\u043a\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0432\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435.<\/li>\n<li><b>message<\/b> \u2014 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n<p>  \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c:  <\/p>\n<ul>\n<li><b>device<\/b> \u2014 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0434\u0430\u0431\u044b \u043d\u0435 \u043e\u0442\u0441\u044b\u043b\u0430\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u0432\u0441\u0435 \u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/li>\n<li><b>title<\/b> \u2014 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d, \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430<\/li>\n<li><b>url<\/b> \u2014 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 web-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0435\u0441\u043b\u0438 \u0432 \u044d\u0442\u043e\u043c \u0435\u0441\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c<\/li>\n<li><b>url_title<\/b> \u2014 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a \u0441\u0441\u044b\u043b\u043a\u0435<\/li>\n<li><b>priority<\/b> \u2014 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u0432 1 \u0434\u043b\u044f \u0432\u044b\u0441\u043e\u043a\u043e\u0433\u043e \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0430, \u043e\u0431\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0432\u0441\u0435 \u00ab\u0442\u0438\u0445\u0438\u0435\u00bb \u0447\u0430\u0441\u044b \u0438 -1 \u0434\u043b\u044f \u0442\u0438\u0445\u043e\u0433\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f.<\/li>\n<li><b>timestamp<\/b> \u2014 UNIX \u043c\u0435\u0442\u043a\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435\u0431\u044b\u043b\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043e. \u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043e.<\/li>\n<\/ul>\n<h5>\u041e\u0442\u0432\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h5>\n<p>  \u041e\u0442\u0432\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432 json \u0438\u043b\u0438 xml \u0444\u043e\u0440\u043c\u0430\u0442\u0435 (\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430).<br \/>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0434\u0430\u0447\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0434\u0430\u043d \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c \u043f\u043e\u043b\u044f <i>status<\/i>, \u0440\u0430\u0432\u043d\u043e\u043c 1.<br \/>  \u0418\u043d\u0430\u0447\u0435, \u043f\u043e\u043b\u0435 <i>status<\/i> \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u0438\u043d\u043e\u0435, \u0430 \u043f\u043e\u043b\u0435 <i>errors<\/i> \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043e\u043a. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u0443\u0434\u0430\u0447\u043d\u043e\u0439 \u0438 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043e\u043a \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 XML:  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;hash&gt;   &lt;status type=&quot;integer&quot;&gt;1&lt;\/status&gt; &lt;\/hash&gt; <\/code><\/pre>\n<p>\u0438  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;hash&gt;   &lt;token&gt;invalid&lt;\/token&gt;   &lt;errors type=&quot;array&quot;&gt;     &lt;error&gt;application token is invalid&lt;\/error&gt;   &lt;\/errors&gt;   &lt;status type=&quot;integer&quot;&gt;0&lt;\/status&gt; &lt;\/hash&gt; <\/code><\/pre>\n<h4>PHP<\/h4>\n<p>  \u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0438 \u0432 \u0444\u0430\u043a\u0435 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u0445 \u00ab\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043a\u0430\u043a \u043b\u0435\u0433\u043a\u043e!\u00bb \u043f\u0440\u0438\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043a\u043e\u0434\u044b \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0438 \u0435\u0441\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 3rd-party <a href=\"https:\/\/github.com\/kryap\/php-pushover\">php-\u043a\u043b\u0430\u0441\u0441<\/a> \u043e\u0442 Chris Schalenborgh.<br \/>  \u0412\u0435\u0437\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441URL, \u0447\u0442\u043e \u0432\u043f\u0440\u043e\u0447\u0435\u043c, \u043f\u043e\u043d\u044f\u0442\u043d\u043e.<\/p>\n<h5>\u0417\u0430\u0444\u0438\u0433\u0430\u0440\u0438\u043c \u0441\u0432\u043e\u0439 \u043a\u043b\u0430\u0441\u0441<\/h5>\n<p>  \u041a\u0443\u0434\u0430 \u0436 \u043d\u044b\u043d\u0447\u0435 \u0431\u0435\u0437 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434\u043e\u0432?<br \/>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u043c\u043d\u0435 \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0443\u0441\u043f\u0435\u0445 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438\u0431\u043e \u043a\u0430\u043a true\/false, \u043b\u0438\u0431\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u0432\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u043d\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0414\u0430 \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u043d\u0435\u0442. \u0421\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u044e \u0441\u0430\u0439\u0442\u0430 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u043d\u0430\u0434\u043e \u0437\u043d\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0442\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.<br \/>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043c\u0435\u043d\u044f\u0435\u043c \u0432\u0441\u0435, \u043a\u043b\u0430\u0441\u0441\u044b \u0443\u0435\u0445\u0430\u043b\u0438 \u043d\u0430 <a href=\"https:\/\/github.com\/Urvin\/pushover\">GitHub<\/a>.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">class PushoverException<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">class PushoverException extends Exception { \t\/** \t * Messages array \t * @var array \t *\/ \tprivate $fMessages;  \t\/** \t * Exception constructor \t * @param array $aMessages An array of messages \t *\/ \tpublic function __construct(array $aMessages) \t{ \t\tparent::__construct('PushoverException exception'); \t\t$this-&gt;fMessages = $aMessages; \t}  \t\/** \t * Get messages array \t * @return array \t *\/ \tpublic function getMessages() \t{ \t\treturn empty($this-&gt;fMessages) ? array() : $this-&gt;fMessages; \t} } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">class Pushover<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">class Pushover { \t\/* \t * Pushover json api service url \t *\/ \tconst C_API_URL = 'https:\/\/api.pushover.net\/1\/messages.json';  \t\/** \t * Properties storage array \t * @var array \t *\/ \tprivate $fProperties;  \t\/** \t * cURL instance \t *\/ \tprivate $fCurl;  \t\/\/--------------------------------------------------------------------------\/\/  \t\/** \t * Properties getter \t * @param string $aPropertyName Property name \t * @return mixed \t *\/ \tpublic function __get($aPropertyName) \t{ \t\tif(array_key_exists($aPropertyName, $this-&gt;fProperties)) \t\t\treturn $this-&gt;fProperties[$aPropertyName]; \t\treturn null; \t}  \t\/** \t * Properties setter \t * @param string $aPropertyName Property name \t * @param mixed $aValue Property value \t *\/ \tpublic function __set($aPropertyName, $aValue) \t{ \t\t$this-&gt;fProperties[$aPropertyName] = $aValue; \t}  \t\/\/--------------------------------------------------------------------------\/\/  \t\/** \t * Class constructor \t * @param string $aApplicationToken Application token \t *\/ \tpublic function __construct($aApplicationToken = null) \t{ \t\tif(!empty($aApplicationToken)) \t\t\t$this-&gt;applicationToken = $aApplicationToken;  \t\t$this-&gt;fCurl = curl_init(); \t\tcurl_setopt($this-&gt;fCurl, CURLOPT_URL,            self::C_API_URL); \t\tcurl_setopt($this-&gt;fCurl, CURLOPT_HEADER,         false); \t\tcurl_setopt($this-&gt;fCurl, CURLOPT_RETURNTRANSFER, true); \t\tcurl_setopt($this-&gt;fCurl, CURLOPT_SSL_VERIFYPEER, false);\t\t \t}  \t\/** \t * Class destructor \t *\/ \tpublic function __destruct() \t{ \t\tcurl_close($this-&gt;fCurl); \t}  \t\/\/--------------------------------------------------------------------------\/\/  \t\/** \t * Throws an exceprion with single message \t * @param mixed $aMessage \t * @throws PushoverException \t *\/ \tpublic function throwMessage($aMessage) \t{ \t\tthrow new PushoverException(array($aMessage)); \t}  \t\/** \t * Throws an exceprion with an array of messages \t * @param array $aMessages \t * @throws PushoverException \t *\/ \tpublic function throwMessages(array $aMessages) \t{ \t\tthrow new PushoverException($aMessages); \t}  \t\/\/--------------------------------------------------------------------------\/\/  \t\/** \t * Send pushover notification \t *\/ \tpublic function send() \t{ \t\tif(!strlen($this-&gt;applicationToken)) \t\t\t$this-&gt;throwMessage('Application token is empty'); \t\tif(!strlen($this-&gt;userToken)) \t\t\t$this-&gt;throwMessage('User token is empty'); \t\tif(!strlen($this-&gt;notificationMessage)) \t\t\t$this-&gt;throwMessage('Notification message is empty');  \t\tif(intval($this-&gt;notificationTimestamp) &lt;= 0) \t\t\t$this-&gt;notificationTimestamp = time();  \t\t$lSendParams = array( \t\t\t'token'     =&gt; $this-&gt;applicationToken, \t\t\t'user'      =&gt; $this-&gt;userToken, \t\t\t'device'    =&gt; $this-&gt;userDevice, \t\t\t'title'     =&gt; $this-&gt;notificationTitle, \t\t\t'message'   =&gt; $this-&gt;notificationMessage, \t\t\t'priority'  =&gt; $this-&gt;notificationPriority, \t\t\t'timestamp' =&gt; $this-&gt;notificationTimestamp, \t\t\t'url'       =&gt; $this-&gt;notificationUrl, \t\t\t'url_title' =&gt; $this-&gt;notificationUrlTitle \t\t);  \t\tforeach($lSendParams as $lKey =&gt; $lParam) \t\t\tif(empty($lParam)) \t\t\t\tunset($lSendParams[$lKey]);  \t\tcurl_setopt($this-&gt;fCurl, CURLOPT_POSTFIELDS, $lSendParams); \t\t$lResponseJson = curl_exec($this-&gt;fCurl);  \t\tif($lResponseJson === false) \t\t\t$this-&gt;throwMessage('API request error');  \t\t$lResponse = json_decode($lResponseJson, true);  \t\tif(empty($lResponse) || !is_array($lResponse)) \t\t\t$this-&gt;throwMessage('Bad API response');  \t\tif(!empty($lResponse['errors'])) \t\t\t$this-&gt;throwMessages($lResponse['errors']); \t\tif(empty($lResponse['status']) || intval($lResponse['status']) != 1) \t\t\t$this-&gt;throwMessage('Unknown notification send error'); \t\t \t} } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043e\u0448\u0438\u0431\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c:  <\/p>\n<pre><code class=\"php\">$lPushover = new Pushover('Write application token here'); $lPushover-&gt;userToken = 'scecify user token'; $lPushover-&gt;notificationMessage = 'Notification message';  try { \t$lPushover-&gt;send(); \techo '&lt;font color=&quot;green&quot;&gt;Message sent&lt;\/font&gt;', PHP_EOL; } catch (PushoverException $aException) { \techo '&lt;font color=&quot;red&quot;&gt;Error sending messages&lt;\/font&gt;&lt;br&gt;', PHP_EOL; \techo '&lt;ul&gt;', PHP_EOL; \tforeach($aException-&gt;getMessages() as $lMessage) \t\techo '&lt;li&gt;', $lMessage, '&lt;\/li&gt;', PHP_EOL; \techo '&lt;\/ul&gt;', PHP_EOL; } <\/code><\/pre>\n<p>  \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0443\u0436\u0435 \u043f\u0440\u0438\u043d\u044f\u043b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.<\/p>\n<h4>\u0418\u0442\u043e\u0433\u043e<\/h4>\n<p>  \u0417\u043d\u0430\u0435\u043c \u043e\u0431 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439, \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c Android \u0438 iOS.<br \/>  \u0418\u043c\u0435\u0435\u043c \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u0441 \u0441\u0430\u0439\u0442\u0430 \u043d\u0430 PHP.    \t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/159649\/\"> http:\/\/habrahabr.ru\/post\/159649\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/58c\/7d4\/631\/58c7d46313c03da29289a53258da0121.png\"\/><br \/>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435, <b>push-\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f<\/b> \u2014 \u044d\u0442\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u043e \u043e\u0431\u044a\u0435\u043c\u0443 \u0432\u0430\u0436\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0438\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c. \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0442\u0430\u043a\u0438\u0445 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u0432 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0432\u0435\u0447\u043d\u043e \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0442\u0440\u0430\u0442\u044f \u043d\u0430 \u043d\u0435\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043d\u044b\u0435 \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u0438 \u0438 \u043f\u0430\u043c\u044f\u0442\u044c.<br \/>  \u041d\u0435 \u0431\u0443\u0434\u0443 \u0437\u0434\u0435\u0441\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f, \u0438\u0431\u043e \u044d\u0442\u043e \u0443\u0436\u0435 <a href=\"http:\/\/habrahabr.ru\/company\/ruswizards\/blog\/156811\/\">\u0441\u0434\u0435\u043b\u0430\u043d\u043e<\/a> <a href=\"http:\/\/habrahabr.ru\/post\/116106\/\">\u0434\u043e \u043c\u0435\u043d\u044f<\/a>. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a: \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u0435\u043c\u043e\u043d \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u043d\u0430\u043c.<br \/>  \u0414\u043b\u044f iOS \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 <a href=\"http:\/\/developer.apple.com\/library\/mac\/#documentation\/NetworkingInternet\/Conceptual\/RemoteNotificationsPG\/ApplePushService\/ApplePushService.html\">APNS<\/a>, \u0434\u043b\u044f Android-\u0430 \u2014 <a href=\"http:\/\/developer.android.com\/guide\/google\/gcm\/index.html\">C2DM-GCM<\/a>, \u044f \u0436\u0435 \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439 (\u0433\u0440\u043e\u043c\u043a\u043e) \u0441\u0435\u0440\u0432\u0438\u0441 <a href=\"https:\/\/pushover.net\/\">Pushover<\/a> \u0438 \u0441\u0432\u044f\u0437\u043a\u0435 \u0435\u0433\u043e \u0441 php-\u0441\u0430\u0439\u0442\u043e\u043c.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-159649","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/159649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=159649"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/159649\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=159649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=159649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=159649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}