> Hello anybody and Gerald!
>
> I need the [$ hidden $] directive but this have to put hidden fields to URL
> For example:
>
> Embperl text:
> <a href="/foo/test.pl?[$hidden$]">
>
> But this directive will not work how i know...
> For this capability i should do like this:
> use URI;
>
> The forming a URI escaped list
> [- $escmode = 0 -]
> <a href="/foo/test.pl?[+ escaped uri parameters+]">
> [- $escmode = 1 -]
>
IMHO it's not wise to put everything to the url. This could open some
unwanted possibilities to badminded users. I always check forms data and
never use hidden fields in embperls [$ hidden $] except in limited
intranet pages. I think that it is safer to use hidden fields a la

$somevar=$fdat{somevar}=~/regexp/ ? $fdat{somevar} : "defaultvalue";

and later

<input type=hidden name=somevar value=[+$somevar+]>

Neeme Vool



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to