Advertisement
Guest User

Untitled

a guest
Jan 1st, 2015
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.03 KB | None | 0 0
  1. print( node.heap() )
  2. function getbody( params)
  3. return [==[ <html><head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
  5. <meta http-equiv="refresh" content="300">
  6. <title>esp8266 uLua</title></head>
  7. <body>
  8. <a href="/main.lua">Download current</a>
  9. <form action="/index.html" method="post" enctype="multipart/form-data">
  10. <br><input type="file" name="userfile" id="file">
  11. <br><input type="submit" value="Send file">
  12. </form>
  13. <b>]==]..tostring( userio(params) )..[==[ </b><p><form action="/index.html" method="GET">
  14. <INPUT TYPE="radio" NAME="dir" VALUE="one" checked="checked">0
  15. <INPUT TYPE="radio" NAME="dir" VALUE="zero">1<BR>
  16. <INPUT TYPE="checkbox" NAME="state" VALUE="high">High<BR>
  17. <INPUT TYPE="checkbox" NAME="state" VALUE="low" checked="checked">Low<BR>
  18. <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
  19. <br><input type="submit" value="Send file">
  20. </form></p> </body></html> ]==]
  21. end
  22. print( node.heap() )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement