This program will teach you on how to send SMS using PHP.
In order to use this script you need to install the Now SMS & MMS Gateway software, you will need a PC running Windows 10, Windows 8, Windows 7, Windows XP, Windows 2012 Server, Windows 2008 Server, or Windows 2003 Server. Server, workstation, professional and home editions of these operating systems are supported.

The Now SMS & MMS Gateway also requires a connection to an SMSC (Short Messaging Service Centre), or SMS service provider, to interface with SMS and MMS networks. An SMSC connection can consist of one or more of the following:

Android Phone – Supported versions are 2.3 Gingerbread, 4.0/4.1 Ice Cream, 4.2/4.3 Jelly Bean, 4.4 KitKat, 5.0/5.1 Lollipop. WiFi and mobile network connectivity are required.

GSM Modem – A GSM modem or phone connected to a PC serial port (or to a USB port or bluetooth interface with an appropriate modem driver).

SMPP (Short Message Peer to Peer Protocol) – A TCP/IP connection over the internet or a private network to a service that supports v3.3 or v3.4 of the SMPP protocol.

UCP/EMI (Universal Computer Protocol / External Machine Interface) – A TCP/IP connection over the internet or a private network to a service that supports v3.5 or higher of the UCP/EMI protocol. UCP/EMI is primarily implemented by CMG SMSCs.

CIMD2 (Computer Interface to Message Distribution, version 2) – A TCP/IP connection over the internet to a service that supports the CIMD2 protocol. CIMD2 is implemented by Nokia SMSCs.

HTTP (Hyper Text Transport Protocol, e.g., the standard protocol for the “web”) – A TCP/IP connection over the internet or private network to a service that accepts SMS messages via an HTTP “GET” based protocol.

This SMSC connection is required to utilise NowSMS. Without an SMSC connection, NowSMS is not able to send or receive messages (although very limited functionality is still available for specialised laboratory environments for phone testing).

Instructions:
1. Download the source code.
2. Run the xampp control panel and start the apache andmysql
3. Copy the file to htdocs
4. Run the program by typing in any browser localhost/nowsms

Note:
This is just a simple program any updates or
constructive criticism will be
accepted.

Download link:
Sending Short Message Service(SMS) Script PHP Source Code