a) Inside b) Outside c) Within d) None of the mentioned Answer: b ...
View QuestionIn which authentication method does changing the username or password can be done only by entering the code and making the manual adjustment.
a) Hard-coding a login pair directly into the script b) File-based authentication c) Data-based authentication d) PEAR’S ...
View Question
Which of the following are types of PHP authentication implementation methodologies?
i) Hard-coding a login pair directly into the script
ii) File-based authentication
iii) Data-based authentication
iv) PEAR’S HTTP authentication
Which of the following are types of PHP authentication implementation methodologies? i) Hard-coding a login pair directly ...
View QuestionWhich function is used to verify whether a variable contains a value?
a) header() b) footer() c) inset() d) isset() Answer: d Explanation: The isset() function determines whether a ...
View Question
Which of the following PHP function is commonly used when handling authentication via PHP?
i) header()
ii) footer()
iii) inset()
iv) isset()
Which of the following PHP function is commonly used when handling authentication via PHP? i) header() ii) footer()
View Question
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’].
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'].
View QuestionHow many predefined variables does PHP use to authenticate a user?
a) 1 b) 2 c) 3 d) 4 Answer: b Explanation: The variables PHP use to authenticate ...
View QuestionHow many validation filters like FILTER_VALIDATE_EMAIL are currently available?
a) 5 b) 6 c) 7 d) 8 Answer: c Explanation: There are seven validation filters. They ...
View QuestionTo validate an email address, which flag is to be passed to the function filter_var()?
a) FILTER_VALIDATE_EMAIL b) FILTER_VALIDATE_MAIL c) VALIDATE_EMAIL d) VALIDATE_MAIL Answer: a Explanation: The FILTER_VALIDATE_EMAIL is used to validates ...
View Question
What will be the value of the variable $input in the following PHP code?
<?php
$input = “Swapna<td>Lawrence</td>you are really<i>pretty</i>!”;
$input = strip_tags($input,”<i></i>”);
echo $input;
?>
What will be the value of the variable $input in the following PHP code? ...
View Question