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
Explain what does $_server means?
What is variable and data type?
Is php better than python?
How to add 301 redirects in PHP?
Where can I find php ini file?
How to randomly retrieve a value from an array?
Is php used for frontend or backend?
What does $globals mean?
What is a php session?
How is it possible to cast types in php?
Is php class name case sensitive?
What is __ construct in php?
What is php session id?
Declare a new variable in php equal to the number 3;
How do I escape data before storing it into the database?