PHP Interview Questions
Questions Answers Views Company eMail

how to install openssl, ISAPI, pdf modules in php 5.2.5 with apache on windows xp.

2 8241

how to maintained the session from one page to another page based on the url and then entered into the first page is logging into instead of secondpage it goes to the another url.ie first login session togoes to the one url and next login session it goes to another url how is it possible in php please give me answer in that question

iCynergy,

1 3689

Does winrunner 8.0 or qtp 8.0 supports php

2 4054




What is the scope of career in PHP/Mysql

Verizon, VGT,

34 60379

how to get the value in script values

1 2355

what is the best function that can be used to connect to mysql database and in what cases that we can use below functions ? 1. mysql_connect() 2. mysql_pconnect() please give your answer with all pros and cons

1 3234

Give any ten basic functions in PHP?

T3 Softwares,

4 6565

What is fulltextsearch

A1 Technology,

2 4450




I have two radio button, i click one radio button display one dropdown box, one text field. and then click another radio button display one text field.so any one give me good idea plz.....i used

but not work..

4 12950

how can we retrive value from one database server and store them another database server using php?

3 5440

what is output of echo 1< 2 and echo 1 >2

HCL, Navigators Software,

8 14152

Why using the htaccess file

2 7571

What is the difference between Joomla and Drupal?

IBM, T3 Softwares, Procon IT Solutions,

8 21522

How to print \ in php. Only \ with out using . or *.

American Solutions,

7 4017

What is a role of a designer in web development. Till what level the designer will do his work. Does he gives the complete html file or the tpl file or he should also include the smarty tag in the tpl file.

1 2007


Post New PHP Questions






Un-Answered Questions { PHP }

4 down vote favorite share [g+] share [fb] share [tw] I am developing my site using server side sessions using redis as backend for saving the session. Now the issue which is bothering me is of user leaving the website without logging out. I mean user simply closes the browser which causes the cookie to be deleted. Now session of that user still exists on the server and will not be used again as new login requires creating a new session due to security reasons. To avoid the case where hacker steals the old cookie and use it after user login again with same old session id. In essence user leaves the website without explicitly logging out and his session will be deleted after certain time limit of inaccessibility. I am thinking time limit of 30-60 minutes. Also with every new request from user his cookie will also be updated to keep track of when the user last time accessed the site. But nowadays, people let site remain open for long time without accessing it. For example users open facebook and gmail in new tabs and forget about them for 2-3 hours and still they are not asked to login again. Is letting a 2-3 hours old cooke access the session secure? My concern is someone steals user cookie and use it 2-3 hours later. Thinking on this topic has also forced me to question how facebook manages security if user can use a session where they are not accessing it for long periods of time and still they remain logged in. Or is it not secure for me to keep logged in when am not accessing the site session for longer period of time? It can be the case also there is some pinging mechanism using which sites keep track of user having their site open in a browser and when browser closes they are notified and can work accordingly. My website is a social network and needs all those security and usage features which a social network may need. I am new to web security and web development in general and may be the case where my above questions may seem a little basic. If you feel that is the case kindly point to some good reference where I can read and find answers to my question.

1092


my english is not too good then what we apply for a php programer post

1260


why did u want to leave your past organisation?

885


what is difference between PHP4 , PHP5

1000


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

837






What is a class in php programing?

1242


Maine 12th ke bad 2 years ka web designing ka course kiya hai. Php me achcha hu. Ek fresher ko is field me kitna mil sakta hai ?

4001


what is benefit of magento?

1348


what is constructor

326


What are Routines?

1132


am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.

891


What is session and Cokkies . How it works . tell some thing about Session_id()

862


write a note on Testing the web site

713


Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.

1007


What is Different between Joomla And Magento?

1556