NAME

RCBowen - Routines typically used in scripts from RCBowen.com

SYNOPSIS

PrintTemplate($basedir,$template,\%details);
PrintHeader();
FormParse(\%Form);

DESCRIPTION

These routines are used frequently in most software that RCBowen.com develops for customers.

PrintTemplate($basedir,$template,\%details);

PrintTemplate takes an HTML template file in the standard RCBowen.com format and fills in the variables from the %details hash. Variables in the template file are indicated by enclosing them in %%%, for example %%%name%%%

$basedir is the directory containing the template files. $template is the name of the template file, without the .html extension. %details is the hash containing the values to be put into the template.

PrintHeader();

PrintHeader prints a standard HTTP text/html MIME type header.

FormParse(\%FORM);

FormParse takes a pointer to a hash, and populates that hash with the contents of the HTTP form post. Form data can come in via either the POST or GET method.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 34:

=over without closing =back