Thread CGI und hidden multiple
(14 answers)
Opened by bianca at 2014-11-17 18:07
Wieso denn die [] weglassen? Wo denn?
Code (perl): (dl
)
1 2 3 4 5 6 7 #!perl use strict; use warnings; use 5.010; use CGI; say "Look ma[] brackets!: $_" for (CGI::param('ma[]')); T:\>"Perl Programm (neu).pl" ma[]=22;ma[]=p CGI::param called in list context from package main line 8, this can lead to vulnerabilities. See the warning in "Fetching the value or values of a single named parameter" at C:/strawberry/perl/site/lib/CGI.pm line 436. Look ma[] brackets!: 22 Look ma[] brackets!: p Last edited: 2014-11-18 09:41:11 +0100 (CET) |