[fpc-pascal]UNCGI issues

Marco van de Voort marcov at stack.nl
Mon Jun 18 21:42:17 CEST 2001


> At 05:43 18-6-01, you wrote:
> >Hey all,
> >    I've been using UNCGI to develop some cool little CGI apps lately and 
> > I have run across only one problem.  Namely, the fact that get_value will 
> > not return anything longer than 255 chars.  I've tried putting it into a 
> > pchar and into a ansistring with no luck.  Please help with a 
> > solution.  I will modify the uncgi code if required.. but i need to know 
> > what direction to take in doing so.
> 
> Try adding {$H+} to the uncgi unit. That will switch all strings to 
> ansistrings.

Afaik the GET method itself is limited to 255 chars. Use POST methods.




More information about the fpc-pascal mailing list