-->
Page 1 of 1

esp8266 Web Server project

PostPosted: Fri Mar 17, 2023 7:50 pm
by karin8266
I haven't used ESP8266 in over six years so I am very rusty now.
I am trying to create a WebServer using an example from GitHub.
IU5HKU / ESP8266-ServerSentEvents
I usually include the HTML code (ie: the code in index.html) in the source code ahead of the code for
creating the server. I believe that that there is a way to store the index.html file in the 8266 then use it
for creating the web page. Is this correct? I have many other questions related to this project.
Where does the .php exist? I am trying to use Server Sent Events to send position values of a remote
motor to the Web Page displayed on the phone or desktop browser.
In that project I don't see any reference as to where the index.html file gets executed.
I hope I have explained this OK.
Karin

Re: esp8266 Web Server project

PostPosted: Fri Mar 24, 2023 9:23 am
by rooppoorali
Now sure if it will serve your purpose. But I think you can follow this tutorial. It is about creating a web server with ESP8266. This shows how to create the HTML file and save it in a variable named index_html

https://www.theengineeringprojects.com/ ... p8266.html