I just updated the Ethernet shield project note -http://www.nuelectronics.com/estore/index.php?main_page=project_ethand included an example of switching on/off a LED via webserver. It might be helpful for your project.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16