help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'pwuenvvar' (#powtils_main)

Reference for unit 'pwuenvvar'

Notes

Use this unit to access common CGI environment variables that are pre-defined on your server. Your server may not implement all the common pre-defined variables. To find out which variables your server offers, you can run the program in the /examples/enviro-var-2/ directory.

Example

uses
  pwumain,
  pwuenvvar;
begin
  webwrite( CgiEnvVar.DocRoot() );
  webwrite('<p>');
  webwrite( CgiEnvVar.UserAgent() );
  webwrite('<p>');
  webwrite( CgiEnvVar.Referer() );
end.






lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505