0

how msg is send to mobile from localhost .
i need php code
settings in nowsmsgateway
settings in php.ini
setting in httpd.conf file

3
Contributors
2
Replies
30
Views
4 Years
Discussion Span
Last Post by Sangeeta_2
0

From "Read this Before Posting a Question" (abbreviated):
* Engage your brain!
* Search the PHP manual.
* Search the forum.
* Search the web.

0

To send sms form your website, no need to change settings in PHP.ini or htttpd.config, You just 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. Get API Key from Spring Edge Messaging Gateway Provider.

Edited by Sangeeta_2: made easy

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.