Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Sending SMS using PHP

Jun 18, 2013 by dolphin111

I have a PHP script for sending an SMS to a provided Mobile number. I recently asked my provider for an SMPP so that I can connect to SMSC server. Now how can I send an SMS with the detailed provided (such as user name, etc,,) via PHP ?
the  mobile number is stored in $MyMobile and the body is in $MyBody
This is th PHP Code:

$MyMobile = xxxxxxxx;
$MyBody = Hi;

//Here I need to connect to SMSC server via SMPP

// and then send SMS to $MyMobile containing $Mybody as a message

//end connection


any advice is appreciated

1 Answer

0 votes
Jun 18, 2013 by TopNet
this should help http://www.phpclasses.org/package/1373-PHP