Next Sep 5
Item 547173
When maintaining some software of bogus inc. you come across these lines of code:
query( "SELECT * FROM USER WHERE USERCODE = '{$_GET["uname"]}'"); .... ?>[/code]
What is do you think?
A: All right! This code is using PDO, we're save and sound here!
B: Why on earth didn't they use prepared statements.
C: There's a possibility for SQL injection here. I'd better use PDO::qoute to escape input.
D: I'm so excited I'll be visiting Amsterdam next summer!
E: They should have used the mysql_xxx functions here because these are compiled into PHP.Answer