Hi i am developing a new website for mobile shop in php, I need to implement to send sms for the login users, please help me with code in php

Recommended Answers

AFAIK there's a few ways to do this.


pay for a service for true SMS.

use emails where available like 9895551212@tmomail.net

http://www.tech-recipes.com/rx/939/sms_email_cingular_nextel_sprint_tmobile_verizon_virgin/

or use curl to …

Jump to Post

All 3 Replies

to send sms form your website you need to integrate SMS API into your website code With below Steps:

Integrating HTTP API: Download sendsms php class code

Use below code in your file to send sms

<?php 
include 'sendsms.php';
$sendsms=new sendsms("http://alerts.springedge.com/api"
                      , "API key HERE", "sender ID HERE");
$sendsms->send_sms("99xxxxxxxx", "MESSAGE HERE"
                      , "", "xml");
?>

for CMS like joomla, opencart, woo commerce, zencart, wordpress, SpringEdge's messaging Modules can be used.

commented: the thread is 4 years old, its DEAD, don't post to old threads -3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.