im working on a home automated system and the webserver is acting weird

So upload mine into your Arduino and check it. I guarantee no viruses or spyware. :smiley:

edit: zoomkat is around somewhere. He has some good server code for stuff like this too.