in reply to Re^2: Simple question on SQL Injection
in thread Simple question on SQL Injection
my $user = get_username(); if ($user =~ /^(\w+)$/) { $user = $1; } else { die "Hey, you gave me bad input: $user\n"; } # proceed with untainted $user
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
|
|---|