What is the name of the key for the element in $_FILES['name'] that contains the provisional name of the uploaded file?
Which of the following is used to find all PHP files under a certain directory?
What is the name of the function that allows you register a set of functions that implement user-defined session handling?
Which of the following filtering techniques prevents all cross-site scripting (XSS) vulnerabilities?
Given the following DateTime object, which sample will NOT alter the date to the value '2014-02-15'?
$date = new DateTime('2014-03-15');
You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your page layout. Which function do you apply to the text, when displaying it? (Choose 2)
From your PHP application, how can you send the same header twice, but with different values?
What is the output of the following code?
class test {
public $value = 0;
function test() {
$this->value = 1;
}
function __construct() {
$this->value = 2;
}
}
$object = new test();
echo $object->value;