Which of the following represents the proper way to set a
session variable?
Answer:
a. $_SESSION['foo'] = 'bar';
b. session_start();
c. session_set_save_handler ('myopen', 'myclose', 'myread',
'mywrite', 'mydelete', 'mygarbage');
d. $foo = $_SESSION['foo'];
2.When administering MySQL, you should make the data
directory accessible via the operating system
3.which statement can be used to determine how the optimizer
resolves a query
Answer Posted / guest
1 a
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is variable function php?
List functions available to sort an php array?
Explain include(), include_once, require() and require_once?
How to support multiple-page forms?
How to create a web form?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
How to set a page as a home page in a php based site?
What does csrf token mean?
When is a conditional statement ended with an endif?
Tell me what are the __construct() and __destruct() methods in a php class?
What backslash character will match whitespace?
What type of headers have to be added in the mail function to attach a file?
What is the difference between php and cakephp?
What is the use of array_count_values() in php?
Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?