Q. |
Which operator is used to check if two values are equal and of same data type?
Show Answer
|
Q. |
The if statement is used to execute some code only if a specified condition is true
Show Answer
|
Q. |
What is the default number of seconds that cached session pages are made available before the new pages are created?
Show Answer
|
Q. |
If the directive session.cookie_lifetime is set to 3600, the cookie will live until
Show Answer
|
Q. |
If session.use_cookie is set to 0, this results in use of
Show Answer
|
Q. |
Which one of the following is the default PHP session name?
Show Answer
|
Q. |
How many ways can a session data be stored in PHP?
Show Answer
|
Q. |
Which one of the following is the very first task executed by a session enabled page in PHP?
A.
Delete the previous session
C.
Check whether a valid session exists
Answer :
Check whether a valid session exists
Show Answer
|
Q. |
Which of the below statements is equivalent to $add += $add ?
D.
$add = $add + $add + 1
Answer :
$add = $add +$add
Show Answer
|
Q. |
What will be the output of the following php code?
$num = 1;
$num1 = 2;
print $num . "+". $num1;
Show Answer
|