Arduino Mega 2560, Wifly shield and LM335


I want to make a box that sends the temperatur readings to a webpage or some other place for logging.

So fare I have made the temperatur sensor. That works. Now I started to try and get the wifi going but I just can't get it to work. I've read a couple of the tutorials and nothing seems to work for me.

What I'm looking for is: A) What the actual code should look like B) How to do the actual logging C) How to fix the Megas "problem" with the wifly shield

Hope someone can help a newbie like me :)