perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: How to write links using Embperl?
Date Wed, 12 Feb 2003 23:22:27 GMT
Hi
>
>
> <A href="http://esorclupg/embperl/dba_database.epl?user_name=[+
> $fdat{user_name} +]&password=[+ $fdat{password} +]&admin_cnx=[+
> $fdat{admin_cnx} +]">[+ $elem +]</A>
>

If you are sure the hash (%fdat in this case) contains only the elements you
want to pass, you can write

<A href="http://esorclupg/embperl/dba_database.epl?[+ \%fdat +]">[+ $elem
+]</A>

Note: If you don't have set optRawInput in EMBPERL_OPTIONS you need to write
\\\%fdat, otherwise Embperl will treat %fd as URL escape

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message