{ NOTE THE Sample DEMO is included in XX34 format at the end }
unit cgi_h;
interface
uses classes;
{intitialize and cleanup procedures}
procedure InitializeCGI;
{call this at the beginning of the program, it reads in and separates}
{all the Form variables to allow easy calling from the functions}
procedure freeCGI;
{call this at end of program to free the string list containing}
{the form input}
{output special HTML codes easily}
procedure writeHTMLHeader;
{writes out the header for an HTML document}
function sendFile(fileName:string):boolean;
{sends a file to the server for output}
function sendFileBinary(fileName:string):boolean;
{sends a binary file to the server for output}
function sendFileBinary2( fileName:string): boolean;
{same but sends length header}
procedure br;
{writes a
code}
procedure hr;
{writes an