Original by chriscook8 from esp8266.com I just modified to use ESP8266WebServer library for easy to handle the http request.
This is sample code not yet complete.
My additions:
- Add wifi disconnect at cleareeprom
- Add soft reset /abort();/ when clear eeprom and after ssid/pass was given