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

version» Context lines:

Roxen.git/server/modules/tags/sqltag.pike:1:   /* -  * $Id: sqltag.pike,v 1.7 1997/09/07 16:42:59 grubba Exp $ +  * $Id: sqltag.pike,v 1.8 1997/09/23 11:05:05 grubba Exp $    *    * A module for Roxen Challenger, which gives the tags    * <SQLQUERY> and <SQLOUTPUT>.    *    * Henrik Grubbström 1997-01-12    */    - constant cvs_version="$Id: sqltag.pike,v 1.7 1997/09/07 16:42:59 grubba Exp $"; + constant cvs_version="$Id: sqltag.pike,v 1.8 1997/09/23 11:05:05 grubba Exp $";   constant thread_safe=1;   #include <module.h>      inherit "module";   inherit "roxenlib";      import Array;   import Sql;      /*
Roxen.git/server/modules/tags/sqltag.pike:309:    */      void create()   {    defvar("hostname", "localhost", "Default SQL-database host",    TYPE_STRING, "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" -  "</ul>Valid values for \"sqlserver\" depend on which " +  "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");    defvar("database", "", "Default SQL-database",    TYPE_STRING, "Specifies the name of the default SQL-database.\n");    defvar("user", "", "Default username",    TYPE_STRING, "Specifies the default username to use for access.\n");    defvar("password", "", "Default password",    TYPE_STRING, "Specifies the default password to use for access.\n");   }