[fpc-pascal] CGI under Freepascal

Luciano de Souza luchyanus at gmail.com
Tue Oct 18 16:39:24 CEST 2011


Hello listers,

I am trying to use CGI with Pascal. I don't have background in web 
development, but principles of CGI seems to be simple.

The first way could be FPWeb. However, I prefer another solution even if 
it is the best bet. It requires complex compilations and configurations 
since it's not available in a deb package. So I want an alternative 
working with FPC 2.4.4.

The second attempt was custcgi. Except for the source code and an single 
example sent to a friend, no more documentation I found. I tried also 
Ezcgi, but the lack of documentation and examples are big obstacles.

What I want to create something simple with a minimum support of CGI 
facilities, but without onus of instalations, compilations and 
configurations.

I don't matter if the solution is modern or old, if only a set of some 
few resources are available, if the method is not appropriate to a large 
quantity o of simultaneous users, for me, it's important the solution 
only works.

With a tStringList.loadfromfile, I can load a HTML file and show it 
iterating on list elements. If this is not my option is because the 
difficulty to process variables received from a form. So a minimum of 
specialized routines should be available.

The variety of projects under Freepascal is so big that I will be not 
surprised with other solutions for my problem. What do you suggest for me?

Regards,

Luciano



More information about the fpc-pascal mailing list