Communication between browser (PHP) and arduino

Hi! is it possible to send a text message from arduino uno and gsm module which can be triggered by a function in php? I was hoping that i could send the contact number to arduino uno.

Hmmm, a confusing question. Arduino cannot run PHP scripts. I'm sure that is not what you meant to say. Please try to explain again.

Hi,
I have an automation controller on an AVR that monitors a gate and updates a MySQL data base via PHP. The PHP script that updates the database also sends a text via a web based email to text web service. My PHP script sends an email with required format including the destination number and the message content and the text is sent to my phone.

The AVR (like Arduino) just sends a get request to the PHP script at the server, The script checks if it a gate action. If so it sends the email via a CURL to the webSMS site.

If that's what you want to do I am happy to share code.