View Single Post
  #10   Spotlight this post!  
Unread 06-08-2013, 15:10
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Arduino + Ethernet Shield Help

Nope it's not a single versus double quotation issue.

The first thing a browser will send you after you click the button is the following text:
POST / HTTP/1.1

So remember the original code is trying to read what the browser sends and then act on that information. Plus the original code is obsolete.

So if you look for "/" first what will you find?
Now look at what it looks for next...

Remember each time the Atmel AVR MCU takes a character from the ethernet chip's buffer that character is no longer available in the ethernet chip to read again. So if you look for the "/" first. Will you ever find "POST"?

Last edited by techhelpbb : 06-08-2013 at 15:12.