Arduino php web server

I am wondering if it is possible to make a self contained Arduino php web server that has the ability to send an email or an SMS message to a cellphone. Any ideas, suggestions, code, anything really would be immensely helpful.

Are you seriously asking whether the Arduino can serve PHP-generated content? That is, whether the Arduino can interpret PHP? Please say you're not...

You can get an Arduino to output HTML, you can probably also send an email, as well as SMS (try googling) - but PHP is well outside the capability of an Arduino...

I think I saw an article about something along those lines recently. But it was a 2-step process. First the Arduino detects something, and then using the existing Ethernet shields, and the ability to make a simple web client, sends a request to another web server running on a PC (or Mac, Linux, whatever).

So the Arduino might send a simple message like:

http://10.0.0.100/myscript.php?msg=cat_has_escaped

Then the PC-based device uses its gigabytes of memory and processing power to contact your cellphone.

Let's put it another way. On the PHP site I see that PHP 5.2.17 (tar.gz) is 11.5 Mb in size. And that's compressed. So there is no way you are going to fit PHP into 32 Kb of program memory.

A simple no would have sufficed.

cr0sh: Are you seriously asking whether the Arduino can serve PHP-generated content? That is, whether the Arduino can interpret PHP? Please say you're not...

You can get an Arduino to output HTML, you can probably also send an email, as well as SMS (try googling) - but PHP is well outside the capability of an Arduino...

A simple no would have sufficed.

But then you would still be totally clueless as to why not.

I meant a no and then an explanation.

zoomkat:

A simple no would have sufficed.

But then you would still be totally clueless as to why not.