Insert variable in HTML server (ESP8266)
Posted: Sat May 12, 2018 9:18 am
Hy guys, I crated a server on my esp and the HTML code is this:
<form>
<label for="ssid"><b>SSID</b></label>
<input type="text" placeholder="Enter SSID" name="ssid" required>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required>
<button type="submit">Invia</button>
</form>
I need to save what I write in ssid and psw form in a local variable (char*) called SSID and password.
How can I do that?
Thanks to all
<form>
<label for="ssid"><b>SSID</b></label>
<input type="text" placeholder="Enter SSID" name="ssid" required>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required>
<button type="submit">Invia</button>
</form>
I need to save what I write in ssid and psw form in a local variable (char*) called SSID and password.
How can I do that?
Thanks to all