Added hello world for Lua

This commit is contained in:
Sergey Lyubka 2014-03-12 12:47:41 +00:00
parent f7fcfa6a42
commit cbd8d69e6d

4
examples/hello.lp Normal file
View File

@ -0,0 +1,4 @@
<? mg.write('HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n') ?>
<html><body>
<span>Today is:</span> <? mg.write(os.date("%A")) ?>
</body></html>