if ($FORM{query} eq "imaform") {
$gotourl = "http://yoururl.com/";
}
louie miranda (axishift.ath.cx)
------------------------------------------
Security Is A Series Of Well-Defined Steps
chmod -R 0 / ; and smile :)
----- Original Message -----
From: "Wagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 27, 2001 2:56 AM
Subject: redirection with perl
> Hi,
>
> I want to do a redirection based on a variable....
>
> for example:
>
> if ($name eq 'invader') {
>
> redirection to some URL ;
>
> }
>
> What do i have to put in the middle line to do the redirection...
>
> In javascript i would put: location.href=url
>
> but in perl i don't know what to put...
>
> Thanks in advance....
> Wagner.
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]