Ethernet shield

I have a question regarding the arduino ethernet shield. Does anyone have any code examples that show how to send a value to the arduino from a form from a webpage? I'd like to simply turn an output on/off from this webpage.