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
9 19140How will you sened requests from server1 to server2 from server2 to server3 and so on .. w/o letting the output come to the browser or say the client end in php
3 8974How can we do user authentication without using session/cookies ? For ex:- From page1 accepts user name and password and need to check in all other pages whether the user has logged in or not
6 116901.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ?
4 96191.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?
8 166081. Write a function to swap two values ? $a = 10; $b = 20; echo $a, $b; swap(); // If u want u can pass parameters echo $a, $b; // It should print 20 , 10
14 39761This question is regarding version control. If two developers are committing the same php file at same time what will happen ? What error it will show (if any) ?
2 6888Post New TCS PHP Interview Questions
Which is better statement or preparedstatement?
How to dereference a reference?
What is the source of income of government?
While creating a web part, which is the ideal location to initialize the web controls?
Explain content items, sections and categories.
What is Data Binding? How Many Types Of Data Binding Directives Are Provided By AngularJS?
Is there a way to merge duplicates in excel?
What do you mean by font size?
What is the goal of cdn and what are the advantages of using cdn?
Define role of velocity in big data?
Q1]IF THE RANGE FOR FLOW IS -35 TO 125 WHAT WILL BE THE SPAN FOR ABSOLUTE AND FOR NORMAL? Q2]HOW TO CALIBRATE CAPILLARY TYPE LT? Q3]HOW MANY ERROR CALCULATIONS ARE THERE USED IN PROCESS INDUSTRIES? Q4]HOW TO CALIBRATE TEMPERATURE TRANSMITTER? Q5] HOW TO CALIBRATE LEVEL TROLL AND HOW TO CONNECT? Q6]PLEASE TELL ME THE BASIC FOR INSTRUMENTATION WHICH IS APPLIED FOR CALIBRATION AND FOR ALL? PLEASE MAIL THE ANSWER TO honest_yes@yahoo.in
What is Application Performance testing and Operational performance testing
May employers use bonuses to satisfy part of the new standard salary level test?
What are the different type of N: N relationships we have in CRM?
What are inner beans?