Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

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

Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

Answer / p.swamy

session variable answer is:

a. $_SESSION['foo'] = 'bar';

Is This Answer Correct ?    31 Yes 2 No

Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

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

Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

Answer / savitha

session variable answer is:

a. $_SESSION['foo'] = 'bar';

Is This Answer Correct ?    6 Yes 0 No

Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

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

Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

Answer / dhir

$_SESSION['foo'] = 'bar';

Is This Answer Correct ?    5 Yes 1 No

Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

Answer / chetana

$_SESSION['FOO']='bar';

Is This Answer Correct ?    4 Yes 0 No

Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

Answer / guest

1 a

Is This Answer Correct ?    1 Yes 0 No

Which of the following represents the proper way to set a session variable? Answer: a. $_SES..

Answer / bala

b. session_start();

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More PHP Interview Questions

What is var_dump?

0 Answers  


How to send Email using PHP with MySQL in Linux Server?..

3 Answers  


How to redirect a url from http to https in .htaccess?

0 Answers  


What is the use of namespace in php?

0 Answers  


Can I use php in visual studio?

0 Answers  


What is the difference between require and include in php?

0 Answers  


why we used type-pool SLIS in ALVs? how many types of windows in scripts?

0 Answers   IBM,


Explain me what is the use of header() function in php?

0 Answers  


How are sessions maintained?

0 Answers  


What is the use of hooks?

0 Answers  


Why php script is not running in browser?

0 Answers  


Why did you choose this particular career path?

0 Answers  


Categories