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.
Posts tagged with: MySQL
So you want a PHP file that scans Twitter for tweets with a pre-defined search query, stores them to a MySQL database and will continue to add new tweets over time without duplicates? Well, you’ve come to the right place.