How can you prevent this?
In a shared hosting environment, session data can be read by PHP scripts written by any user.
How can you prevent this?
Which is the most secure approach for handling dynamic data in SQL queries?
Which is the most secure approach for handling dynamic data in SQL queries?
what super-global will contain the command line arguments specified?
When PHP is running on a command line, what super-global will contain the command line
arguments specified?
Which of the following did not result in an output error in PHP 4 but does in PHP 5?
Which of the following did not result in an output error in PHP 4 but does in PHP 5?
How many elements does the array $matches from the following code contain?
How many elements does the array $matches from the following code contain?
<code>
1 <?php
2 $str = “The cat sat on the roof of their house.”;
3
4 $matches = preg_split(“/(the)/i”, $str, -1,
PREG_SPLIT_DELIM_CAPTURE);
5 ?>
</code>
What function allows resizing of PHP’s file write buffer?
What function allows resizing of PHP’s file write buffer?
Which of the following functions are used to escape data within the context of HTML?
Which of the following functions are used to escape data within the context of HTML?
(Choose 2)
what will be the value of $b?
After running this sort, what will be the value of $b?
<code>
$a = array(‘_!’, ‘def’, 0);
$b = sort($a);
</code>
Which of the following is an invalid DOM save method?
Which of the following is an invalid DOM save method?
What is the purpose of the 4th argument to the file_get_contents() function?
What is the purpose of the 4th argument to the file_get_contents() function?