Client Login

Contact Us

  • Call Now:+91-9426045500
  • Email Adress:bonrix@gmail.com
  • Address Info:Ahmedabad,India

Close Login

Login

ASP Code


' This is ASP sample code
<%@ ENABLESESSIONSTATE = False %>
<% option explicit %>
<%
Dim objXMLHTTP, sRemoteURL,posturl
'Create & initialize the XMLHTTP object
Set objXMLHTTP = Server.CreateObject ("Msxml2.ServerXMLHTTP.6.0")
sRemoteURL = "http://www.smscountry.com/SMSCwebservice_Bulk.aspx"
'Open the connection to the remote server
objXMLHTTP.Open "POST", sRemoteURL
objXMLHTTP.setProxy 2, "192.168.1.210:6666"'If you are behind proxy please mention the proxy ip with port. Or just comment this particular line...
objXMLHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
posturl = "User=xxxx&passwd=xxxx&mobilenumber=919xxxxxxxxx&message=x xxx&sid=xxxx&mtype=N&DR=Y"
objXMLHTTP.setRequestHeader "Content- Length",LEN(posturl)
'Send the request to the eProcessingNetwork Transparent Database Engine
objXMLHTTP.Send posturl
'store the response response.Write (objXMLHTTp.responseText)
%>