PHP (3028)
Laravel PHP Framework (1078)
WordPress (1256)
Drupal (621)
Joomla (294)
Magento PHP (281)
CodeIgniter (272)
Zend (235)
CakePHP (128)
Yii PHP Framework (148) How 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
TCS,
6 114791.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 94831.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)?
TCS,
8 163871. 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 39401This 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) ?
TCS,
2 6799What is the difference between include and include_once ? Which is one is good in terms of performance ?
Dest,
2 5856What is the difference between mysql_connect and mysql_pconnect ? Which one is good in terms of performance ?
4 12432How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?
1 4193
Explain contextual binding and how does it work?
How we can get ip address in codeigniter?
What is a base theme in drupal?
How can I load data from a text file into a table?
How can I get tier value in magento 2?
How can we encrypt the password using php?
How do I view my wordpress database?
What are route groups?
Explain magento versions and license?
"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.
Tell me is it possible to rename the wordpress folder?
What is singleton design pattern in laravel?
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
Explain the difference between $var and $$var?
Explain how to install valet?