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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / p.swamy
session variable answer is:
a. $_SESSION['foo'] = 'bar';
| Is This Answer Correct ? | 31 Yes | 2 No |
Answer / rubinthomas
1.In order to set a session variable u must first declare
the session_start() function as the first statement when u
execute your page after which can u assign or manipulate
session variables $_SESSION["foo"] = 'bar';
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / savitha
session variable answer is:
a. $_SESSION['foo'] = 'bar';
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / palaniraja.wordpress.com
3.which statement can be used to determine how the optimizer
resolves a query
EXPLAIN
| Is This Answer Correct ? | 6 Yes | 1 No |
What php framework does wordpress use?
What does namespace mean in php?
What is the difference between mysql_fetch_object and mysql_fetch_array?
Does browser understand php?
Why many companies are switching their current business language to php? Where php basically used?
Php says that an array is an ordered map. But how the values are ordered in an array?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
What is meant by ‘passing the variable by value and reference' in php?
How can we get ip address of a client in php?
Tell us what is the difference between session_unregister() and session_unset()?
How to create an array in php?
What is the salary for php developer(Fresher)?