Difference between revisions of "Conf/Examples/AdpParamExample"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
<body> | <body> | ||
<% | <% | ||
− | set | + | set set_conn [ns_conn form] |
− | set param_value [ns_set get $ | + | set param_value [ns_set get $set_conn foo] |
ns_puts $param_value | ns_puts $param_value | ||
%> | %> |
Revision as of 09:13, 6 January 2012
<html> <head><title>Testing of ADP</title></head> <body> <% set set_conn [ns_conn form] set param_value [ns_set get $set_conn foo] ns_puts $param_value %> </body> </html>
To use with the example config, save the file to:
/var/www/vhost1/test.adp