Jump to content

SMS API with PHP


Mohamedwaly

Recommended Posts

hello

i want to make a new website which i can sent to my user a SMS messages, but i have 2 questions:

1-to check the mobile number of user i must send a validation code in SMS to user, when i check the SMS vendor they said that they support http API for example :http://api.clickatell.com/http/sendmsg?user=xxxxx&password=xxxxx&api_id=xxxxx&to=448311234567

&text=Meet+me+at+home

 

question how can i send link without allow user to see this address because i will write my username and password and he can take them.

 

2-for example i will send SMS to my user at 12:00PM daily , my php page will load the numbers from mysql and will send them ,

 

Question: how can i active this php page at 12:00pm automatically without entering the page?

Link to comment
https://forums.phpfreaks.com/topic/222990-sms-api-with-php/
Share on other sites

question how can i send link without allow user to see this address because i will write my username and password and he can take them.

 

Use CURL to submit the request behind the scenes.

 

 

Question: how can i active this php page at 12:00pm automatically without entering the page?

 

You will need to set up a cron job to run the target PHP script at a particular time and frequency.

 

Nathan

Link to comment
https://forums.phpfreaks.com/topic/222990-sms-api-with-php/#findComment-1153019
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.