diff options
Diffstat (limited to 'swat.obsolete/esptest/showvars.esp')
-rw-r--r-- | swat.obsolete/esptest/showvars.esp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/swat.obsolete/esptest/showvars.esp b/swat.obsolete/esptest/showvars.esp new file mode 100644 index 0000000000..dc55b1e58b --- /dev/null +++ b/swat.obsolete/esptest/showvars.esp @@ -0,0 +1,24 @@ +<% page_header("columns", "ESP standard variables test", "esptest"); %> + +<h1>Samba4 showvars test</h1> + +<% + function showArray(name, array) { + write("<h3>Array: " + name + "</h3>\n"); + if (array == undefined) { + write("undefined<br>\n"); + } else { + simple_table(array); + } + } + + showArray("headers", headers); + showArray("application", application); + showArray("cookies", cookies); + showArray("files", files); + showArray("request", request); + showArray("server", server); + showArray("session", session); +%> + +<% page_footer(); %> |