Select the correct statement about setcookie() function:
Correct Answer: The setcookie() function must appear before the <html> tag.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
What is the output? $foo = 400; $bar = 10; echo $foo . '+'. $bar;
Which method of Exception class returns formated string of trace?
How to get client IP address in a PHP script?
Correct way to add 1 to the $count variable?
How do you remove the X-Powered-By header?
natsort( array( 'i10', 'i1', 'i20' ) ) = ?
Given the statement, mysqli_connect(“happy.com”, “hot24”, “015A#”, “ABC”); “happy.com” and “hot24” respectively refer to ?
What's the MIME type for images with correct extension 'jpg'?
Which PHP function tells whether a file exists and is readable?
function foo($bar) { if($bar['soap'] != 'Zest') { return $bar['soap']; } } Which best describes the function foo()?