how to make CGI's?

Can you give me a small initiation guide on buiding a Delphi CGI?

Notes :
- What will the size of the file will be?
- can I use it on UNIX servers?
- What will be the CHMOD on the file?


Thanks
LVL 1
jpcsAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
RadlerConnect With a Mentor Commented:
Hi jpcs;

At past you needed simulate user actions at a TWebBrowser, but my Delphi version is 4, then was impraticable to me.

Well, You want impossible things.
Delphi output files are Win32 files( Unix imcompatibles )
The file Size are the same to normal App's/Dll's
CHMOD are avaible to NTFS partitions and work only windows NT machines( See "Security Functions" at Win32 SDK )

if you want start to write CGI apps with Delphi the target plataform must be Windows + intel ( Wintel ).
Here some links:
http://super.sonic.net/ann/delphi/cgicomp/demos.html ( Basic )
http://kokoz.iteb.serpukhov.su/Tips/CGIApp.html
http://delphi.snapjax.com/isapiboard/_isapiboard/00000030.htm
http://www.cc.ece.ntua.gr/~jmelas/cgi.html ( advanced )
If anymore tell us.

T++, Radler.
0
 
RadlerCommented:
Another hint
Go to
http://delphi.snapjax.com/isapiboard/isapiboard_srch.htm
and look for CGI.

T++, Radler.
0
 
RadlerCommented:
Another hint
Go to
http://delphi.snapjax.com/isapiboard/isapiboard_srch.htm
and look for CGI.

T++, Radler.
0
 
jsextonCommented:
I asked a general CGI question a few weeks ago and successfully wrote a CGI app for Windows (for Windows not Unix).  Check out the question for some good links for Windows based CGI with Delphi and simple explanation of the whole thing at the end:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=delphi&qid=10192527 

FYI, my exe size was under 150k; I use no special components (just a unit with functions for handling DOS Environment variables)

It can be done as a console app for even smaller exe size (no forms)
0
All Courses

From novice to tech pro — start learning today.