The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:LibWeb"

LibWeb::CGI - Extra cgi supports for libweb applications River stage zero No dependents

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::File - File manipulations for libweb applications River stage zero No dependents

METHODS read_lines_from_file() Params: -file => Open, read all lines, close "-file" and return the lines in an ARRAY reference. write_lines_to_file() Params: -file =>, -lines => Pre: * "-lines" is an ARRAY reference to lines which are scalars. Post: ...

CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC

LibWeb::Time - Various time formats for libweb applications River stage zero No dependents

METHODS get_date() Return 'wday mon mday' as a string, e.g. 'Sun May 28'. get_time() Return 'hh:mm:ss' as a string, e.g. '14:35:47'. get_datetime() Return 'wday mon dd hh:mm:ss yyyy' as a string, e.g. 'Sun May 28 14:35:47 2000'. This is the same as u...

CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC

LibWeb::Core - The core class for libweb modules River stage zero No dependents

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::Class - A base class for libweb modules River stage zero No dependents

METHODS rearrange() This is not really OO related but makes LibWeb's API look sexy. This is stolen from CGI.pm and modified. It allows smart rearrangement of parameters for named parameter calling. This does the rearrangement if the first parameter b...

CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC

LibWeb::Crypt - Encryption for libweb applications River stage zero No dependents

METHODS encrypt_cipher() Params: -data=>, -key=>, -algorithm=>, -format=> Pre: * "-data" is the data to be encrypted as cipher, * "-key" is the private key such the same key is needed to decrypt the cipher (sorry, I do not have a rigorous definition ...

CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC

LibWeb::Admin - User authentication for libweb applications River stage zero No dependents

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::Digest - Digest generation for libweb applications River stage zero No dependents

GENERATING A MAC FOR USER/SESSION AUTHENTICATION The following discussion on MAC is extracted from a WWW security FAQ written by Lincoln Stein, http://www.w3.org/Security/Faq/wwwsf7.html#Q66 ``If possible, cookies should contain information that allo...

CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC

LibWeb::Session - Sessions management for libweb applications River stage zero No dependents

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 River stage zero No dependents

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 River stage zero No dependents

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 River stage zero No dependents

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 River stage zero No dependents

See LibWeb::HTML::Default....

CKONG/LibWeb-0.02 - 19 Jul 2000 22:25:12 UTC

LibWeb::Database::Mysql - Mysql database API for libweb applications River stage zero No dependents

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 River stage zero No dependents

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
15 results (0.018 seconds)