Re: [fpc-pascal] CGI file upload

2010-05-24 Thread Vannus
> > There is an example project (CGI and Apache mod) in Lazarus under > /components/fpweb/demo/fptemplate/fileupload/ you can use. > > AB > > Cheers, it turned out to be the HTML form needed 'enctype' which i've never seen before. Upload File: - V

Re: [fpc-pascal] CGI file upload

2010-05-24 Thread ABorka
On 5/23/2010 08:57, Vannus wrote: How do you get cgi uploads to work?? Im using TModuledCGIApplication procedure TCGIDatamodule1.DataModuleCGIRequest(Sender: TObject); begin // upload handling writeln('filenamevar: '+application.requestvariables['file']+''); // works when get but post is