How do you do the hit counter?
If you are hosting a web page from HTML files on the SD card you are going to make the Arduino send out data 2 times, one of the HTML file and one from the hit counter and/or other HTML code written directly on to the Arduino which is not part of the requested HTML file.
I have the source on the site already but here are the hit counter sections:
First define the variables:
int hits = 0;
int bangs = 0;
The following code should come after the main HTML content is sent out,
//Hit counter
if(bangs >= 2)
{
hits ++;
bangs = 0;
}
bangs +=1;
client.print("Hits: ");
client.print(hits);
//End hit counter
"Bangs" is simply a random variable I came up with. I'll be uploading new code soon and I changed it to something a little more understandable, "SentItems". It really doesn't matter what it is though.