"be consistent" | |
PerlMonks |
Re: Value Checkby blaze (Friar) |
on May 30, 2003 at 23:32 UTC ( [id://261986]=note: print w/replies, xml ) | Need Help?? |
you could always just do: if($q->param('userid') eq ""){ or if(! $q->param('userid')){ though you realize that all someone has to do to bypass this is add a query string right? you may be better off just making sure it's coming from your form specifically using $ENV{'HTTP_REFERER'}, which still isnt foolproof -Robert Hopefully there will be a witty sig here at some point
In Section
Seekers of Perl Wisdom
|
|