io.stdout:write"Content-type: text/html\n\n" for i,v in pairs{"QUERY_STRING", } do io.stdout:write (string.format ("%s = %s", v, os.getenv(v) or ' ')) end io.stdout:write "
\n" local post_data = io.stdin:read"*a" io.stdout:write (string.format ("post_data = {%s}", post_data))