[Athens-pm] <a href="my_script.pl?argument1=string>Click this</a> can't fix it!

Mark Pors mark at dreamzpace.com
Wed Feb 26 12:00:50 CST 2003


Antonis Faragitakis wrote:
> hello everyone,
> 
> can;t make it work:
> 
> we have the following html code:
> <a href="login.pl?goto_url=test">Click this</a>
> 
> and the perl code:
> $cgi->param("goto_url");
> 

I think you gotto do:
$goto_url = $cgi->param("goto_url");

mark

> if ($goto_url eq 'test' and $user_pass) {
>    $cgi->start_html(-title=>'It works').
>    $cgi->p(q(Ok it works)).
>    $cgi->end_html();
> }
> 
> ok i know this code sucks, but i cant think something
> better than this!
> any help please!
> 
> Antonis!
> 
> _______________________________________________
> Athens-pm mailing list
> Athens-pm at mail.pm.org
> http://mail.pm.org/mailman/listinfo/athens-pm
> 
> 





More information about the Athens-pm mailing list