TEZcgi class
Easy CGI class.
Declaration
TEZcgi = class(TObject)Inheritance
- TEZcgi
- TObject
Description
TEZcgi implements all functionality to analyze the CGI
environment and query the variables present in it. It's main use is the
exposed variables.
Programs wishing to use this class should make a descendent class of this
class and override the DoPost or DoGet methods. To run the program, an instance
of this class must be created, and it's Run
method should be invoked. This will analyze the environment and call the
DoPost or DoGet method, depending on what HTTP method
was used to invoke the program.
Properties
Values | public | Variables passed to the CGI script. |
Names | public | Indexed array with available variable names. |
Variables | public | Indexed array with variables as name=value pairs. |
VariableCount | public | Number of available variables. |
Name | public | Name of the server administrator. |
Email | public | Email of the server administrator. |
Methods
OutputError | protected | |
Create | public | Creates a new instance of the TEZCGI component. |
Destroy | public | Removes the TEZCGI component from memory. |
Run | public | Run the CGI application. |
WriteContent | public | Writes the content type to standard output. |
PutLine | public | Send a line of output to the web-client. |
GetValue | public | Return the value of a request variable. |
DoPost | public | Method to handle POST requests. |
DoGet | public | Method to handle GET requests. |
Inherited
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
