Difference between revisions of "Conf/Examples/AdpParamExample"

From AOLserver Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
    
 
    
 
    
 
    
  ---------------------------------------------------------------------------------
+
----
  Save the file at below location:
+
To use with the example config, save the file to:
 
   /var/www/vhost1/test.adp
 
   /var/www/vhost1/test.adp

Revision as of 09:33, 5 January 2012

part of ADP Config Examples

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

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

 /var/www/vhost1/test.adp