Sending SMS using AJAX through HTTP - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36) +---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43) +---- Thread: Sending SMS using AJAX through HTTP (/showthread.php?tid=27598) |
Sending SMS using AJAX through HTTP - thomasqueen - 01-24-2013 Hey guys. For my project, I needed to find a way to send SMS messages from AJAX using HTTP. It turns out, it is easy to send messages from AJAX using HTTP requestes and a software called Ozeki NG SMS Gateway. First you need to download, install and configure Ozeki NG SMS Gateway software to your computer. You can download the source code from their webpage: http://ozekisms.com/index.php?owpn=246 This code is particularly useful for • add SMS functionality to a website. • add SMS functionality to a corporate Intranet. • create automated SMS notifications. • increase website security by adding SMS login. Here is a part of the source code: smssend.js ... function GetXmlHttpObject() { var xmlHttp = null; try { // Firefox, Opera 8.0+, Safari xmlHttp = new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; } ... I hope this will be as useful to you as it is for me! Thomas best virtual server - markstylor - 01-24-2013 hello there is also some helping guide available on Google so use that... RE: Sending SMS using AJAX through HTTP - offshore7x - 02-07-2013 great sharing dude i realy like that |