Search results for "dist:LibWeb core.pm"
LibWeb::Core - The core class for libweb modules
READING THE LIBWEB RC FILE You should place your LibWeb rc (config) file outside your WWW document root. The following shows how a cgi script using LibWeb will typically look like, use LibWeb::Session; use LibWeb::Database; use LibWeb::CGI; use LibWe...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::CGI - Extra cgi supports for libweb applications
METHODS new() args: [ -post_max=>, -disable_uploads=>, -auto_escape=> ] * "-post_max" is the ceiling on the size of POSTings, in bytes. The default for LibWeb::CGI is 100 Kilobytes. * "-disable_uploads", if non-zero, will disable file uploads complet...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::Admin - User authentication for libweb applications
HANDLING USER LOGIN Fetch the user name and password from a HTML form and pass them to login(), $a->login( $user_name, $guess ); If the password is correct and the user name exists in the database, this will send an authentication cookie to the clien...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::Session - Sessions management for libweb applications
METHODS get_user() Check to see if the viewing Web browser has logged in by checking expiration time, IP and MAC in the authentication cookie, and return the user name and the user ID if it passes all the authentication checks. Params: [ -no_auth=>, ...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::Database - A generic database driver for libweb applications
do() Params: -sql => Pre: * "-sql" is a valid sql statement. Post: * Return the number of rows affected by the SQL statement, "-sql". query() Params: -sql=>, -bind_cols=> [, -want_hash=> ] Pre: * "-sql" is the sql statement to perform the query, * "-...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::HTML::Error - Displaying error messages in html for libweb applications
METHODS display_error() Params: *caller*, *error_msg*, *error_input*, *help_msg* Pre: * *caller* is a reference to the calling object. All other parameters are scalars except *help_msg* which must be a SCALAR reference. Post: * Display a HTML page wi...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::HTML::Default - HTML display for libweb applications
new() Params: *class*, *rc_file* Usage: my $html = new LibWeb::HTML::Default( $rc_file ); Pre: * *class* is the class/package name of this package, be it a string or a reference. * *rc_file* is the absolute path to the rc file for LibWeb. display() T...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::HTML::Standard - An interface defining HTML display for libweb applications
See LibWeb::HTML::Default....
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::Database::Mysql - Mysql database API for libweb applications
METHODS get_count() Params: -table =>, -where => Pre: * "-table" is a scalar indicating a database table's name, * "-where" is a scalar describing the `where' phrase of a SQL query. Post: * Return the number of counts satisfying the criteria specifie...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC
LibWeb::Themes::Default - Default HTML widgets and theme for libweb applications
bordered_table() Params: -content=> [, -border_color=>, -bg_color=>, align=>, -valign=>, -cellpadding=>, -width=> ] Pre: * "-content" must be an ARRAY reference to elements which are scalars/SCALAR references/ARRAY references to plain HTML. * "-borde...
CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC