Go Down

Topic: Problems with PHP,MySQL and Ethernet (Read 2528 times) previous topic - next topic


Jan 22, 2015, 03:56 pm Last Edit: Jan 22, 2015, 04:03 pm by luigialab
Yes it still works. i addes your line of code and that's the result:
Code: [Select]
Starting ethernet...
HTTP/1.1 200 OK
Date: Thu, 22 Jan 2015 14:54:49 GMT
Server: Apache/2.4.7 (Ubuntu)
X-Powered-By: PHP/5.5.9-1ubuntu4.5
Content-Length: 1
Connection: close
Content-Type: text/html
It works!
Pass 1

EDIT: I found my mistake!
It was in this line :
Code: [Select]


because i'm using a LM35 sensor and now it works!! Really thanks you man!! Last thing where can i find some documentation about the GET sketch? beacuse i think i'll use this project in an exam at school. Thanks!


There is sketchy documentation about any ethernet functions. You can take a look at my GET example sketch on the playground. I have included all error checking and fault tolerance stuff I could find, and commented it as well as I thought necessary. The timeout feature is the major improvement over other example sketches. Look for the loopCount variable and how it controls the timeout on the "while(client.connected))" loop.

Go Up