jwlarson3rd has asked for the wisdom of the Perl Monks concerning the following question:
thank you john larsonmy $p = new CGI; my $name= $p->param('name'); my $password=$p->param('password'); my $st=$p->param('state'); $name =~ s/([;<>\*\|`\$!#\(\)\[\]\{\}:'"]@)/\\$1/g; $name =~tr/\n//d; $password =~ s/([;<>\*\|`\$!#\(\)\[\]\{\}:'"]@)/\\$1/g; $password=~tr/\n//d; if (( $name ne " ")&& ($password ne " ")&& ($st eq "true")) { do some stuff } else{ redirect back to form }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: blank value from text box
by Roger (Parson) on Feb 07, 2004 at 01:49 UTC | |
by jwlarson3rd (Acolyte) on Feb 07, 2004 at 22:20 UTC | |
|
Re: blank value from text box
by CountZero (Bishop) on Feb 07, 2004 at 09:56 UTC | |
|
Re: blank value from text box
by CountZero (Bishop) on Feb 07, 2004 at 10:04 UTC | |
by jwlarson3rd (Acolyte) on Feb 07, 2004 at 21:59 UTC | |
by CountZero (Bishop) on Feb 07, 2004 at 23:48 UTC |