How to receive the mobile sms to a server using php

Lokesh picture Lokesh · Aug 24, 2011 · Viewed 10.5k times · Source

Can any one explain how to achieve the below requirement.

  1. Say user sends a message like eg: TDFEED Nice work ! to some common no like 5858.
  2. I need to receive this text message to my server.
  3. Manipulate the text and in reply i need to send an acknowledgement.

I need how to achieve this using php or any other language.

Thanks, Lokesh.

Answer

Ryan Doherty picture Ryan Doherty · Aug 24, 2011

Use Twilio (http://www.twilio.com/), I'm using them now to send SMS messages and their API for receiving them is very simple and easy to setup.

Docs: http://www.twilio.com/docs/quickstart/sms/hello-monkey