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
How can we change the maximum size of the files to be uploaded?
Explain what is the difference between for and foreach?
Does apache use php?
Tell me what does $_env means?
What is interface? Why it is used?
How many open modes available when a file open in PHP?
How is the comparison of objects done in php?
What is csrf cookie?
What is the w3c?
Can we extend final class in php?
What is polymorphism in oop php?
how to use http headers inside php? Write the statement through which it can be added?
What are php applications?
Define metaphone()?
Tell me what is the difference between the functions strstr() and stristr()?