[fpc-pascal]CGI Programming

Michael Van Canneyt michael.vancanneyt at wisa.be
Sat Jun 7 11:51:29 CEST 2003


On Sat, 7 Jun 2003, James Mills wrote:

> Hi all,
>
> Now that uni is almost over (only exams left), I wish to write a web
> application for my 5 member group of software engineers (students).
>
> Is it wise to write such as application (cgi app in pascal) ?
> It needs to be secure and allow only members of the group to login and
> view the pages within, submit data etc...
>
> I've looked around for cgi related stuff for fpc, ezcgi, Uncgi (from:
> ftp://ftp.freepascal.org/pub/fpc/source/packages.zip) which doesn't
> appear to exist.
>
> I have seen Section 11 of the Users Manual of FPC as well which explains
> how the two methods of feeding the data to the cgi app.
>
> Anyone have any ideas of the best approach to this ? I could write my
> own class, but ezcgi probably already accomplishes most things anyway.

ezcgi is outdated. The new release 1.0.8 contains the 'cgiapp' unit
which has all that ezcgi had, but is embedded more in the FCL.

I suggest you download the latest FCL sources, or get the new release.

Michael.





More information about the fpc-pascal mailing list