home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / zkuste / delphi / unity / d5 / DBGCGI.ZIP / TESTCGI / Project1.dpr < prev    next >
Text File  |  2001-03-05  |  591b  |  27 lines

  1. {
  2. After all the required steps for a normal CGI are done,
  3. compile, set a breakpoint, press F9, open the browser and try this URL:
  4. http://localhost/path_to_CGI/project1.cgi?continent=South+America
  5. Of course, you need to write the real path and please check for
  6. steps 3 and 4 in the small documentation.
  7. }
  8. program Project1;
  9.  
  10. {$APPTYPE CONSOLE}
  11.  
  12. uses
  13.   WebBroker,
  14.   //CGIApp,
  15.   dbgCGIApp,
  16.   Unit1 in 'Unit1.pas' {WebModule1: TWebModule};
  17.  
  18. {$E cgi}
  19.  
  20. {$R *.RES}
  21.  
  22. begin
  23.   Application.Initialize;
  24.   Application.CreateForm(TWebModule1, WebModule1);
  25.   Application.Run;
  26. end.
  27.