M
M
Maxim Zuev2015-08-18 21:25:26
PHP
Maxim Zuev, 2015-08-18 21:25:26

Does anyone have a script to send SMS alerts?

From the site sms.ru, you can send sms manually, but maybe someone has a script to automate the process so that notifications come at the time specified in the script?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vitaly Inchin ☢, 2015-08-18
@mx_zuev

It will not be possible to automate sending via sms.ru (or rather, it is difficult), because captcha must be entered there.
And if you are interested in a simple sending of SMS, then here is an article. And the set time is already cron tasks .

A
Alexander Taratin, 2015-08-19
@Taraflex

file_get_contents("http://sms.ru/sms/send?api_id=<ваш ключ api>&to=<номер куда слать>&text=<тут ваш текст>");

A
Andrey Pavlenko, 2015-08-18
@Akdmeh

sms.ru/?panel=api&subpanel=method&show=sms/send
there is a detailed API

G
G1K, 2015-08-30
@G1K

Use api sms.ru instead of web interface.
Moreover, they have a completely normal promotion: About 50 SMS for free per day to your number.
Free SMS - especially for programmers who send alerts to their number.
sms.ru/?panel=price&free=1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question