Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Send SMS using GSM Modem Help

jhefreyzz

Amateur
Advanced Member
Messages
112
Reaction score
0
Points
26
pa help po if tama po ba ito for sending sms via gsm modem using PhpSerial class

Code:
require "PhpSerial.php";
$serial = new phpSerial;
$serial->deviceSet("COM6");
$serial->confBaudRate(115200);

$serial->deviceOpen();

// To write into
$serial->sendMessage("AT+CMGF=1\n\r");
$serial->sendMessage("AT+CMGS=\"+639290019451\"\n\r"); // 639290019451 = 09290019451 (sample lang)
$serial->sendMessage("sms text\n\r");
$serial->sendMessage(chr(26));

sleep(5);
$serial->deviceClose();

salamat po sa mga tutulong
 
wag kana mag GSM modem please papi . dami dami nating SMS gateways dito sa 'Pinas. worth your money pa kesa sa pisteng GSM modem na yan. but if I were you, use native, C# for AT commands. tapos gawa ka ng queue sa DB na binabasa na need nya mag send ng SMS.

why? I made that mistake, too. Pero kung sobra na kayong committed..
 
try ko po muna kasi ung GSM method kasi web-based application po gagawin namin. Last resort na po ung gateways
 
try ko po muna kasi ung GSM method kasi web-based application po gagawin namin. Last resort na po ung gateways

un nga sir kasi web based application kayo . kahit desktop pa . you're best bet and little headache solution is gateway . unless integrated talaga sa device ung web app + texting . pero sige . search mo lang AT commands . hindi problem sa library yan .
 
baka thesis yan, at yun yung ni-require ng panelists. Afterall, kapag gumamit ka ng APIs, useless ang thesis mo, nakigamit ka lang ng program na gumagana na.
 
baka thesis yan, at yun yung ni-require ng panelists. Afterall, kapag gumamit ka ng APIs, useless ang thesis mo, nakigamit ka lang ng program na gumagana na.

hindi naman useless, grabe ka naman. ang alam lang natin base sa post ni TS is want nya mapagana ung AT commands sa PHP serial class. (kung ako tatanungin) dapat natin platform nalang siya like C# or python para low level. meant kasi for web scripting si PHP.


thats great ! masakit ang one time payment . at hindi din natin alam use case ni TS for that. kung makakatipid nga siya dyan or pay-per-text nalang siya. some SMS gateway companies one time payment tas unli usage, then meron pay for what you use lang ba.
 
anyways thanks for the replies guys. I figured it out and make it work using native PHP codes
 
Back
Top Bottom