Hey,
I received my ethernet shield this morning and i am trying to setup a small webserver with a few pages, however i cant figure out how to do it. I would prefer if i could store the pages in the arduino itself instead of an SD card.
Any help?
Hey,
I received my ethernet shield this morning and i am trying to setup a small webserver with a few pages, however i cant figure out how to do it. I would prefer if i could store the pages in the arduino itself instead of an SD card.
Any help?
I am only trying to display a variable and some text on each page so i dont think its gonna run out of memory, my problem with setting it up on an SD card is that i have no clue on how to use any of my variables there.
Storing webpages will be simple html, images and whatnot should be linked out.
I have spent hours trying to find tutorials on how to setup a webserver, the only thing that contains useful examples is this website Arduino Ethernet Shield Web Server Tutorial.
But it spends more time explaining the html instead of the actual arduino code
Can you list me one that explains in detail how to have multiple pages?
Yes i can host a single page just fine, i have no problem doing anything except creating a second page. And yes i am incapable of properly using google, besides you claim there are many tutorials so it should take so much time to just help me out and link me one of them
alexlab:
Yes i can host a single page just fine, i have no problem doing anything except creating a second page. And yes i am incapable of properly using google, besides you claim there are many tutorials so it should take so much time to just help me out and link me one of them
Wow.
If post some code to show that you actually tried to adapt the examples to get it to serve multiple pages, people will be much more willing to help you.
Even though that might not be the case, just posting short messages asking for the full code and step-by-step tutorials might come across as lazy.
Pieter
Here is my current code /* Created by Rui Santos Visit: http://randomnerdtutorials.com for more - Pastebin.com