954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to send sms through a gsm modem in php ?

Dear Friends,

Am developing a sms based website. i bought the gsm modem. problem how to connect the com port through php and querying the gsm modem with AT Commands ?? Please help me out

Modem:- Visontek 82GH USB MODEM
It supports at commands.

Note:- Am sending sms and making calls through their software but how to connect the modem through gsm modem i dont know. Please help me.

Thanks in advance
Radhakrishna Rayidi
9666055540

krishwebdesigne
Light Poster
27 posts since May 2011
Reputation Points: 14
Solved Threads: 1
 

As a server-side programming language, PHP isn't the right way to deal with a device like a modem. You can certainly do it by sending to a third party service or to the phone company server as an email (if they provide that service where you are). If you search this site you will find some previous posts about doing this directly through a modem but you will probably see that it is being done using C or Java.

chrishea
Nearly a Posting Virtuoso
1,428 posts since Sep 2008
Reputation Points: 210
Solved Threads: 230
 

Dear all, I got problem with looping i wanna get interest rate in each loop while date = date + 1month and round up-round down with all amount:

here is my code:

$spit = array(",", "'");
$loan = str_replace($spit,"",$loan_size);
//echo"";


for($a=1;$a<=$term;$a++){
$repay_date=date("D,d/M/Y",strtotime($next_month));

$ba=round(($ba-$pr),2);
$i=round((($ba*30*$i)/30),2);
$pa=round(($pr+$i),2);

/* echo""; */
/////////////////////////
echo"
$a

";

echo"$repay_date";
echo"$cur $pr";
echo"$cur $i";
echo"$cur $pa";
echo"$cur $ba";

echo"";

}

///////////

echo"
Total :

";
echo" ";
echo"-------";
echo"-------";
echo"-------";
echo"-------";
echo"";

thanks...:-)

vattana ybm
Newbie Poster
1 post since Aug 2011
Reputation Points: 9
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: