How do I send a text / sms message using php

impressionexpress
impressionexpress used Ask the Experts™
on
How do I send a text / sms message using php whithout knowing the recipients cellphone carrier ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Developer & EE Moderator
Fellow 2018
Most Valuable Expert 2013
Commented:
You need to use a 3rd party service  like twilio https://www.twilio.com/.  Otherwise, you are looking at setting up your own server with a modem capable of sending out a text message and that is not practical.  I use twilio and if you search around you will find alternatives too.

Author

Commented:
I started poking around Twilio, I found a bit of sample code, but it appears in the sample code that there is an "includes" I cant find the php includes file. can someone that used this service guide me a little further.
Scott FellDeveloper & EE Moderator
Fellow 2018
Most Valuable Expert 2013

Commented:
which sample are you on

Commented:
I agree. Twilio or CDyne SMS Notify are both excellent options.

Commented:
As far as the includes goes, I'd suggest you follow the non-composer setup if you're not familiar with composer.

https://www.twilio.com/docs/sms/quickstart/php-manual-install

It will tell you where every file comes from.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial