Posts tagged with: MySQL

Textlocal SMS to MySQL Database in PHP

Here’s a real simple piece of PHP code that receives an SMS from Textlocal’s service and saves it to a MySQL database. This can be very handy for text-to-screen applications or if you just want to keep a custom database of received messages. Textlocal gives the option to forward incoming messages to a URL and provides sample code to get you going. The code I’ve written code below takes this one step further and will save the messages to a database. Once received SMSs are stored in the database it is really easy to create moderation tools and further analyse the messages.

Continue Reading