I operate the website for a company that sends out bulk text messages to mobile phones. We have a mySQL database that contains all the relevant customer information. I need a program that can reside on my server that queries the database based on specifications that can be changed and then contacts the messaging server sends out the text messages and handles the response from the server. I would preffer this to be written in php, java is also an option. The specifications for the text messaging protocol are attached with the project.