Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print( node.heap() )
- function getbody( params)
- return [==[ <html><head>
- <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
- <meta http-equiv="refresh" content="300">
- <title>esp8266 uLua</title></head>
- <body>
- <a href="/main.lua">Download current</a>
- <form action="/index.html" method="post" enctype="multipart/form-data">
- <br><input type="file" name="userfile" id="file">
- <br><input type="submit" value="Send file">
- </form>
- <b>]==]..tostring( userio(params) )..[==[ </b><p><form action="/index.html" method="GET">
- <INPUT TYPE="radio" NAME="dir" VALUE="one" checked="checked">0
- <INPUT TYPE="radio" NAME="dir" VALUE="zero">1<BR>
- <INPUT TYPE="checkbox" NAME="state" VALUE="high">High<BR>
- <INPUT TYPE="checkbox" NAME="state" VALUE="low" checked="checked">Low<BR>
- <input type="radio" checked="checked" name="raz" value="1">1<input type="radio" name="raz" value="2">2 <input type="radio" name="raz" value="3">3
- <br><input type="submit" value="Send file">
- </form></p> </body></html> ]==]
- end
- print( node.heap() )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement