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 the PHP predefined variable that tells the What types of images that PHP supports?

1 Answers  


how to get substring of string without using substr() function in php ????

3 Answers  


What is the use of header() function in php?

0 Answers  


How is the comparison of objects done in php?

0 Answers  


Which character is used to match exactly one character?

0 Answers  


client side scripting language Vs server side scripting language

7 Answers   IBM, IRT,


How to display your correct URL of the current web page?

0 Answers  


how to do connectivity of 2 dbs in PHP script?

3 Answers   TCS,


Why using the htaccess file

2 Answers  


Tell me is it possible to remove the html tags from data?

0 Answers  


Tell me what are the encryption techniques in php?

0 Answers  


How to create a session? How to set a value in session?

0 Answers  


Categories