How To Embed Processing Graph Into WebPage

I am trying to figure out the easiest way to display data from my Arduino back to PC to view over the web and am at a loss.

I can successfully send serial data through an HTML page with PHP over the web to turn on an LED but I want to get feedback on the status of the LED.

I am wondering if I can simply embed a Processing graphic that shows Red or Green depending on the state of an input pin into my webpage for viewing.

Any ideas?

The below link has info and code to get you started using an ethernet shield with no PHP needed.

http://www.scienceprog.com/getting-hands-on-arduino-ethernet-shield/