EASY Way to sens message (SMS) from your project
In this post I would like to explain how you can send sms from your web project. You can use any programming language. The method successfully worked out using PHP, JSP and ASP Platforms.
2) Writedown your username and password
Normally username would be your Mobile Phone number
3)From your project call this web link with your username password and message as shown below
http://pravysoft.eu5.org/sms.php?username=xxx&password=yyy&button=1&to=zzz&msg=abcd
Please replace
XXX with your username
YYY with password
ZZZ with Mobile number of the recipient
ABCD with your msg.
<?php
$username="your username"; // username you got from 160by2.com website
$password="your password"; //your password
$to="99956xxxxx"; //Phone number to send msg
$msg="TEST"; //Message to send you can use url encode function if space exist in your message
echo('<a href="http://pravysoft.eu5org/sms.php?username='.$username.'&password='.$password.'&button=1&to='.$to.'&msg='.$msg.'">SEND SMS</a>');
?>
In this post I would like to explain how you can send sms from your web project. You can use any programming language. The method successfully worked out using PHP, JSP and ASP Platforms.
PravySoft SMS senter |
Please do following steps
1)First you need an 160by2.com account.
You will get free 160by2 account from this website
http://160by2.com2) Writedown your username and password
Normally username would be your Mobile Phone number
3)From your project call this web link with your username password and message as shown below
http://pravysoft.eu5.org/sms.php?username=xxx&password=yyy&button=1&to=zzz&msg=abcd
Please replace
XXX with your username
YYY with password
ZZZ with Mobile number of the recipient
ABCD with your msg.
Example PHP script
This is a simple code for demonstration of the method. Please use url encode function and POST method (to hide username password from url) for implementation.
<?php
$username="your username"; // username you got from 160by2.com website
$password="your password"; //your password
$to="99956xxxxx"; //Phone number to send msg
$msg="TEST"; //Message to send you can use url encode function if space exist in your message
echo('<a href="http://pravysoft.eu5org/sms.php?username='.$username.'&password='.$password.'&button=1&to='.$to.'&msg='.$msg.'">SEND SMS</a>');
?>
You can send sms (Text messgaes) using JSP and ASP using similar way.
If you want to know more or need codes please ask to me
info.pravysoft@gmail.com
or visit
About me http://pravysoft.eu5.org/praveen
Sir
ReplyDeleteIt will be available all time.
SMS sending using web service is really good?
Please send me php code to do the same
this code is not working fine i couldnt able to recieve msg can u pls help me this is my mailid sureshselvi.selvi@gmail.com
ReplyDelete