Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Web form security

by premchai21 (Curate)
on Jul 31, 2001 at 07:06 UTC ( [id://101048]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use CGI;
    
  2. or download this
    my $q = CGI->new;
    my @names = $q->param;
    my %param;
    
  3. or download this
    foreach my $name (@names)
    
  4. or download this
    {
       $param{$name} = $q->param($name);
    
  5. or download this
       print "$name: $param{$name}", $q->br;
    }
    
  6. or download this
    use strict;
    use warnings;
    use CGI;
    my $q = CGI->new;
    
  7. or download this
    my %params = map { $_, $q->param($_) } ($q->param);
    
  8. or download this
    print join $q->br, map { "$_: $params{$_}" } ($q->param);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://101048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found