[fpc-pascal] CGI upload app

Burkhard Carstens fpc at bcsoft.de
Wed Jun 6 16:50:16 CEST 2007

Am Dienstag, 5. Juni 2007 22:21 schrieb Michael Van Canneyt:
> On Tue, 5 Jun 2007, Darius Blaszijk wrote:
> > Hi I would like to upload a file through a web page. How can I do
> > this using FPC? Is there any example available?
> The fpweb or cgiapp components can do this for you.

The README.TXT in lazarus/components/fpweb/ states:
"fpWeb does not work with fpc 2.0.4.
It needs at least 2.3.x."

Is 2.3.x still minimum, or could it work with 2.1.4/2.1.5, too?

I've been able to install the weblaz package in lazarus with fpc-2.1.5, 
but I can't compile an apache module due to missing fpApache unit. 

fpApache seems to be missing in packages/fcl-web/Makefile.fpc in 
fixes_2_2 as well as in trunk.
Simply adding fpApache to the Makefile.fpc (and doing the fpcmake -Tall) 
doesn't solve it: "can't find unit httpd used by fpApache".
Here I'm loosing it. From the buildlog I can see, that there is no 
-Fu{fpcsrc}/packages/base/httpd/ when compiling fpApache, even though 
httpd-1.3 -2.0 and 2.2 are compiled before. 

any hints?


More information about the fpc-pascal mailing list