Identify the security vulnerability in the following example:
1 <?php
2 mail('feedback@example.org',
3 'Feddback',
4 'Here is my feedback.',
5 "From: {$_COOKIE['email']}");
6 ?>
When comparing prepared statements and regular, application-constructed SQL statements, which of the following is true?
What will be the output of the following code?
$a = array(0, 1, 2 => array(3, 4));
$a[3] = array(4, 5);
echo count($a, 1);
Under which circumstances is the $_SESSION super-global available? (Choose 2)
What is the output of the folowing code?
1 <?php
2 echo '1' . (print '2') + 3;
3 ?>