home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / delphcgi.zip / README.TXT < prev    next >
Text File  |  1995-08-01  |  4KB  |  111 lines

  1. Delphi CGI Component Package, Version 1.1
  2. -----------------------------------------
  3.  
  4. INTRODUCTION
  5.  
  6. This package consists of two Delphi components:
  7.  
  8.    * TCGI, the core component, allows Delphi applications to 
  9.      interact with information servers (primarily World Wide Web 
  10.      servers), processing input and generating output on the fly.
  11.  
  12.    * TCGIDlg, a dialog box component which aids in understanding 
  13.      and debugging CGI applications.
  14.  
  15. This release has been tested with Win-httpd 1.4 (for Windows 3.1) 
  16. and WebSite (for Windows 95 & NT).  Win-httpd is available as 
  17. shareware (see http://www.city.net/win-httpd).  WebSite is available 
  18. from O'Reilly and Associates (see http://website.ora.com for 
  19. features and ordering information).
  20.  
  21. Currently planned enhancements/add-ons include:
  22.  
  23.    * Execution templates, for greater flexibility in server support.
  24.    * An HTML component, which will link to the CGI component and
  25.      assist in outputting HTML tags, tables, and other markup.
  26.  
  27.  
  28. INSTALLATION
  29.  
  30. To install, unzip the ZIP file using the -d option (to preserve 
  31. directory structure).  Start Delphi, choose Options|Install 
  32. Components..., click Add..., then Browse, and select CGIREG.DCU.  
  33. The CGI and CGIDlg components will be added to the Samples pallette.
  34.  
  35. To install the context-sensitive help, move the CGI.HLP file to your 
  36. \DELPHI\BIN directory, and the CGI.KWF file to \DELPHI\HELP.  Run 
  37. Delphi's HelpInst utility.  Choose File|Open.  Select 
  38. \DELPHI\BIN\DELPHI.HDX.  Click the + icon, and select 
  39. \DELPHI\HELP\CGI.KWF.  Then choose File|Save, and exit.  The CGI 
  40. context-sensitive help is now integrated with the Delphi help system.
  41.  
  42. USE
  43.  
  44. Just place the CGI component on the main form of your application.  
  45. When the application is run by the information server (or as a 
  46. standalone app with the correct command line parameters), the CGI 
  47. component will automatically load all of the relevant data and open 
  48. the output file for your results.  See the help file for details.
  49.  
  50. For a complete description of how CGI applications interact with Web 
  51. servers, including a description of the command line, please refer 
  52. to the Windows CGI 1.2 interface specification (available at 
  53. http://website.ora.com/wsdocs/32demo/windows-cgi.html).
  54.  
  55.  
  56. DEMOS
  57.  
  58. This ZIP file contains two demo programs, both of which are based on 
  59. Bob Denny's CGI demo for Visual Basic.  The only difference between 
  60. them is that one of them uses a form, while the other saves almost 
  61. 70K by going formless.  Formless programming in Delphi is a little 
  62. trickier, but not too bad.  These demos won't run without the proper 
  63. command line and .ini file, so you must either set them up to be 
  64. executed by a Web server, or create an .ini file manually and fake 
  65. the parameters.  This should be pretty easy to figure out from the 
  66. CGI spec.  Admittedly, this makes it more difficult for people who 
  67. aren't running Web servers to write and test CGI apps, but the 
  68. shareware Win-httpd is readily available and makes the process much 
  69. easier.
  70.  
  71.  
  72. VERSION HISTORY
  73.  
  74. 1.1 - 8/1/95
  75. ------------
  76. * Fixed GPF problem in TCGIDlg component
  77. * Fixed PIZZAD.DPR demo program.
  78.  
  79. 1.0 - 7/18/95
  80. -------------
  81. * Initial Release
  82.  
  83.  
  84. LICENSE & REGISTRATION
  85.  
  86. Good news!  It's free!  However, if you appreciate the effort, you 
  87. might reward me by sending me a postcard.  It's just a nice reminder 
  88. that people are paying attention, and it helps prove to my boss that 
  89. I'm not a complete waste of salary and benefits.  Plus, it's a cool 
  90. way to see the world while I'm chained to my desk.  Send 'em to:
  91.  
  92.    Cool CGI Component
  93.    Michael B. Klein
  94.    c/o Washington Publishing Company
  95.    806 W. Diamond Ave., Suite 400
  96.    Gaithersburg, MD  20878
  97.  
  98. I retain full copyright.  You may use the TCGI and TCGIDlg 
  99. components in your compiled programs and DLLs royalty free, but you 
  100. may not distribute for monetary gain any of the source code, 
  101. documentation, example programs, or compiled units within this 
  102. package without my written permission and copyright notice.
  103.  
  104. If you have any questions, feel free to e-mail me:
  105.  
  106.    CompuServe: 74323,3555
  107.    Internet: mbk@baldrick.com
  108.    
  109. Thanks for your interest, and enjoy!
  110.  
  111.