Server prosecution code and implement to send SMS to the phone an idiot type server prosecution code, write very rough, put it here memo. Use server B to check server A, Server B ping Server A, to see the results returned, if there is an exception sent to 139 mailbox, set on 139 mailbox-Mobile Notification-mail arrival notification-check text messages, so long as the server has a problem mobile phone can receive text messages; Cons & Insufficient: 139 email messages sent to the mobile phone will have a certain delay; You must ensure that Server B is stable. <?php/** * Server prosecution *-If the ping is different or the packet drops to 139 mailboxes to send mail, 139 mailbox set the phone to receive mail items. &
1. Detailed description of the prosecution code
Introduction: Server prosecution code and implementation to send text messages to the phone an idiot type server prosecution code, written very rough, put it here memo. Using Server B to check server A, Server B ping Server A, to see the results returned, if there is an exception sent to 139 mailbox, set on 139 mailbox-Mobile Notification-mail arrival notification-check SMS, so long as the server has a problem mobile phone can receive SMS; malpractice & Insufficient: ...
2. The server to check the code and to send text messages to the phone
Introduction: Server prosecution code and implementation to send text messages to the phone
"Related question and answer recommendation":