Showing posts with label sms in php code. Show all posts
Showing posts with label sms in php code. Show all posts

Tuesday, November 25, 2014

Sending SMS Using PHP Via GSM Modem


     After I was able to send sms text message in Visual Basic 6 my intention to improve my skills and knowledge in programming does not stop there. My next plan is to write an application to send sms using PHP as my programming language. PHP is one of my favorite language I earned from it and it is easy to learned for beginners. After some research over the Internet I find a class code in PHP that enables us to send sms using a gsm modem. 

I modify the code to suit to my needs and then test using my gsm modem provided by Sun Broadband Internet. In my computer at home it runs on Windows XP the gsm modem uses communication port 3 for sending information specially sms messages. After some trial and error and refinement of my code I was able to send text messages from PHP into my mobile phone. 

My code works using globe tattoo, sun broadband internet and smart bro plugin gsm modem here in the Philippines. If you are trying to use my code in your country please check your telecommunication company about it. I hope you find my work useful and beneficial in your programming assignments and projects which involves integrating SMS functionality in your application. 

Questions and comments your can send me an email at jakerpomperada@yahoo.com and jakerpomperada@gmail.com. People here in the Philippines who wish to contact me can reach me in my mobile number 09173084360 and my telephone number at home at (034) 4335675. Thank you very much and Happy Programming.





Sample Output of Our Program



Check your GSM Modem here device manager to determine the communication port before you run the program