[fpc-pascal] fpweb tutorial

Michael Van Canneyt michael at freepascal.org
Tue Jul 13 17:20:11 CEST 2010



On Tue, 13 Jul 2010, Felipe Monteiro de Carvalho wrote:

> On Tue, Jul 13, 2010 at 5:10 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>> Well, Request.Variables['Myvar'] is enough, no ?
>
> Doesn't seam to exist in fpc 2.4.0, any idea how to do that with that
> version? I found a couple of stuff which didn't work, including:

My mistake, the correct name is 'Queryfields':

Avar:=Request.QueryFields['MyVar'];

And fieldByName() exists already in 2.2, but that queries environment
variables, not query variables (hence it will get stuff like 'QUERY_STRING').

I've never heard of GetParam()

Michael.



More information about the fpc-pascal mailing list