[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'pwuenvvar' (#powtils_main) |
Source position: pwuenvvar.pas line 76
type TCgiEnvVar = record |
Accept: function: String; |
AcceptEncod: function: String; |
AcceptLang: function: String; |
AuthType: function: String; |
ContentLength: function: String; |
ContentType: function: String; |
Cookie: function: String; |
DocName: function: String; |
DocRoot: function: String; |
DocUri: function: String; |
Forwarded: function: String; |
GateIntf: function: String; |
Host: function: String; |
IfModSince: function: String; |
PathInfo: function: String; |
PathTranslated: function: String; |
Pragma: function: String; |
QueryString: function: String; |
Referer: function: String; |
RemoteAddr: function: String; |
RemoteHost: function: String; |
RemoteIdent: function: String; |
RemotePort: function: String; |
RemoteUser: function: String; |
RequestMethod: function: String; |
RequestUri: function: String; |
ScriptFileName: function: String; |
ScriptName: function: String; |
ScriptUri: function: String; |
ServerAdmin: function: String; |
ServerName: function: String; |
ServerPort: function: String; |
ServerProtocol: function: String; |
ServerSig: function: String; |
ServerSoft: function: String; |
UserAgent: function: String; |
end; |
uses pwumain, pwuenvvar; begin webwrite('What is the current script we are running?<br>'); webwrite( cgienvvar.ScriptName() ); webwrite('<hr>'); webwrite('What URL did the person come from?<br>'); webwrite( cgienvvar.referer() ); webwrite('<hr>'); webwrite('What is the public html path on this server?<br>'); webwrite( cgienvvar.DocRoot() ); webwrite('<hr>'); end.