Business Directory
Trade Forum
Vision 2000
Delphi
Domain Rates
Search
Music
Opinion Award
About
FeedBack
Quit


Delphi Internet

| Tips & Tricks | Bug List | Cool Delphi Sites |
| Connectivity | Delphi 2.0 Features | Internet |

Delphi Code

The following code is relatively simple and should be easy to understand (but if you have any questions, please do not hesitate to ask!). There is one unusual aspect, this code does not create a form when it executes. If it did you would have forms popping up all over your server everytime the site was accessed! Besides the fact that it would be very annoying it is also a waste of resources.

The code focuses on the CGI transaction process and attempts to make it clear, in fact you will find more comments than code in this program. The code compiles with Delphi 1.0 (16-bit) or Delphi 2.0 (32-bit). If you do not have Delphi see the note after step 4.

Please note, this is not an exhaustive execution of the CGI specs by any stretch of the imagination. The purpose of this code is to clearly illustrate the CGI transaction process -- professional quality, ready-made components can be found at HREF Tools Corp.

A Delphi CGI script in 4 steps

  1. Create a subdirectory in Delphi, C:\DELPHI\CGI\LEARN.
  2. Download the EECGI.ZIP file into the C:\DELPHI\CGI\LEARN directory.
  3. Unzip the file, and load it into Delphi and compile (Close the current project, open the EECGI.DPR file and compile).
  4. Copy the resulting EECGI.EXE file to the WebSite CGI-WIN directory (i.e. C:\WEBSITE\CGI-WIN).

If you do not have Delphi and you still wish to complete the tutorial, you can use the EECGI.EXE program that is extracted from the EECGI.ZIP file. Copy that file per the directions in step 4. If you make your living with computers, however, I strongly suggest that consider purchasing a copy of Delphi. You can buy it from a mail order catalog and have it sent overnight (I have had good luck ordering from Computer Discount Warehouse 800-800-4CDW ext 7213 and also from PC Connections 1-800-800-1111).

| Borland Delphi | About the Authors | Home |

For Queries Mail To Webmaster

Copyright © 1996 Asylum Software Pvt. Ltd. This is an ASPL production.
Produced in conjunction with ASPL DELPHI TEAM.
Last revised November 27, 1996.