Which of the following statements is true?
Which of the following statements is true?
$_SERVER consists of data provided by the web server and is therefore trustworthy.
$_SERVER consists of data provided by the web server and is therefore trustworthy.
What is the length of a string returned by: md5(rand(), TRUE);
What is the length of a string returned by: md5(rand(), TRUE);
Which sentence describes the following regular expression match? <code> preg_match(‘/^\d*(?:\.[0-9
Which sentence describes the following regular expression match?
<code>
preg_match(‘/^\d*(?:\.[0-9]+)?$/’, $test);
</code>
which circumstances is the $_SESSION super-global available?
Under which circumstances is the $_SESSION super-global available? (Choose 2)
Which of the following statements about database connections are commonly true?
Which of the following statements about database connections are commonly true? (Choose 2)
What can prevent PHP from being able to open a file on the hard drive (Choose 3)?
What can prevent PHP from being able to open a file on the hard drive (Choose 3)?
What will the function call return?
Consider the following code:
<code>
strspn($test, ‘aeiou’, 1);
</code>
The variable $test contains the string “You get certified”.
What will the function call return?
When a browser requests an image identified by an img tag, it never sends a Cookie header.
When a browser requests an image identified by an img tag, it never sends a Cookie header.
How can the id attribute of the 2nd baz element from the XML string below be retrieved from the SimpleXML obje
How can the id attribute of the 2nd baz element from the XML string below be retrieved from the
SimpleXML object found inside $xml?
<code>
<?xml version=’1.0′?>
<foo>
<bar>
<baz id=”1″>One</baz>
<baz id=”2″>Two</baz>
</bar>
</foo>
</code>