J
J
Just OK2020-01-17 00:45:03
PHP
Just OK, 2020-01-17 00:45:03

How to receive SMS messages through PHP?

Hello.
There is such a question.
It is necessary to implement such a theme.
The telegram bot issues a number from the database, after which, when the button is pressed through the callback on the server, it should check whether SMS came to this number, if they did, it should display in the bot.
How can such a thing be implemented?
How to handle callback etc. I know, you need to understand exactly how SMS verification works, etc.
I would be grateful for any help!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander, 2020-01-17
@SmoKE_xD

I know a way via USB modem + MySQL. The program throws all incoming SMS into the database

K
Konstantin B., 2020-01-17
@Kostik_1993

What are the numbers? If these are numbers to which the user must send SMS, then there are services for receiving SMS like SMSC has such functionality. You can look for other gateways with reception support. As soon as the SMS arrives at your server, a request with the Message data will be sent

S
Sergey Pliskin, 2020-01-17
@pligin

You mean sim bank. It will be costly to keep it. It is better to use ready-made temporary virtual number services that provide API

G
garik888, 2020-01-17
@garik888

Use the service semysms.net
There you can just receive, send sms from your phone.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question