Question
a.
setcookie ( )
b.
set_header ( )
c.
header ( )
d.
All of them
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which PHP function offers to send raw arbitrary HTTP headers?
Similar Questions
Discover Related MCQs
Q. PHP is not configured to transparently pass session IDs in the
View solution
Q. $_SESSION array is one of superglobal variables introduced in
View solution
Q. When value of sessionauto_start ( ) function is zero it means that
View solution
Q. Session_unset ( ) takes
View solution
Q. HTTP protocols by which browsers talk to a web server is
View solution
Q. Meaning of superglobal arrays is it can be
View solution
Q. Secure ( ) argument in setcookie function returns result
View solution
Q. In PHP4.1 and later versions, cookies name/value pair are added to the
View solution
Q. Php.ini file can be viewable by calling
View solution
Q. Which two predefined variables are used to retrieve information from forms?
View solution
Q. The attack which involves the insertion of malicious code into a page frequented by other users is known as..
View solution
Q. When you use the $_GET variable to collect data, the data is visible to..
View solution
Q. When you use the $_POST variable to collect data, the data is visible to..
View solution
Q. Which variable is used to collect form data sent with both the GET and POST methods?
View solution
Q. Which one of the following should not be used while sending passwords or other sensitive information?
View solution
Q. Which function is used to remove all HTML tags from a string passed to a form?
View solution
Q. To validate an email address, which flag is to be passed to the function filter_var()?
View solution
Q. How many validation filters like FILTER_VALIDATE_EMAIL are currently available?
View solution
Q. How many predefined variables does PHP use to authenticate a user?
View solution
Q. Which of the following variables does PHP use to authenticate a user?
i) $_SERVER[‘PHP_AUTH_USER’].
ii) $_SERVER[‘PHP_AUTH_USERS’].
iii) $_SERVER[‘PHP_AUTH_PU’].
iv) $_SERVER[‘PHP_AUTH_PW’].
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!