Difference between revisions of "Conf/Examples/AdpParamExample"

From AOLserver Wiki
Jump to navigation Jump to search
 
Line 5: Line 5:
 
  <body>
 
  <body>
 
  <%  
 
  <%  
  set set_conn [ns_conn form]
+
  set ns_set [ns_conn form]
  set param_value [ns_set get $set_conn foo]
+
  set param_value [ns_set get $ns_set foo]
 
  ns_puts $param_value
 
  ns_puts $param_value
 
  %>
 
  %>

Latest revision as of 09:13, 6 January 2012

part of ADP Config Examples

<html>
<head><title>Testing of ADP</title></head>
<body>
<% 
set ns_set [ns_conn form]
set param_value [ns_set get $ns_set foo]
ns_puts $param_value
%>
</body>
</html>
 
 
 

To use with the example config, save the file to:

 /var/www/vhost1/test.adp