Roxen.git / server / modules / tags / sqltag.pike

version» Context lines:

Roxen.git/server/modules/tags/sqltag.pike:1:   // This is a roxen module. Copyright © 1997-2000, Roxen IS.   //   // A module for Roxen, which gives the tags   // <sqltable>, <sqlquery> and <sqloutput>.   //   // Henrik Grubbström 1997-01-12    - constant cvs_version="$Id: sqltag.pike,v 1.54 2000/03/31 05:20:48 nilsson Exp $"; + constant cvs_version="$Id: sqltag.pike,v 1.55 2000/04/04 17:56:50 jhs Exp $";   constant thread_safe=1;   #include <module.h>   #include <config.h>      inherit "module";   inherit "roxenlib";      Configuration conf;      
Roxen.git/server/modules/tags/sqltag.pike:259:   {    return "sql";   }         // ------------------------ Setting the defaults -------------------------      void create()   {    defvar("hostname", "localhost", "Default SQL database host", -  TYPE_STRING, "Specifies the default host to use for SQL queries.\n" +  TYPE_STRING | VAR_INITIAL, +  "Specifies the default host to use for SQL queries.\n"    "This argument can also be used to specify which SQL server to "    "use by specifying an \"SQL URL\":<ul>\n"    "<pre>[<i>sqlserver</i>://][[<i>user</i>][:<i>password</i>]@]"    "[<i>host</i>[:<i>port</i>]]/<i>database</i></pre></ul><br>\n"    "Valid values for \"sqlserver\" depend on which "    "SQL servers your pike has support for, but the following "    "might exist: msql, mysql, odbc, oracle, postgres.\n");   }