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 / ramji
Question: When administering MySQL, you should make the
data directory accessible via the operating system ....
Answer 1: only to the "mysql" user
Answer 2: only to the "root" user
Answer 3: to the "mysql" user, and also to the "webserver" user
Answer 4: to the "mysql" user, and also to people who are
installing applications that use MySQL
| Is This Answer Correct ? | 73 Yes | 10 No |
Post New Answer View All Answers
Is php better than java?
What is Gd PHP?
How to convert a character to an ascii value?
What is the use of htmlentities in php?
What is the maximum size of a table in mysql?
What is string and its function?
What do the initials of php stand for?
What is the use of mysqli_real_escape_string() function?
armstrong number by using php while number is given by the keyboard.?
How to create a directory?
What is "print" in php?
What is implode() in php?
What is filter_var?
Explain me what is the importance of "method" attribute in a html form?
Why triggers are used in mysql?