PHP Interview Questions
Questions Answers Views Company eMail

1.What are the difference between echo , print , print_r ? else this 3 can we show output to a client in some other way?

Leeway Hertz,

16 25846

how can i find number of rows in a table using MS Access and php? i used odbc_num_rows($query); but it returned -1.

1 1604

How can I maintain the count of how many persons have hit my site?

Rushmore Consultancy, MTOG,

1 6804




What is the difference between echo and print statement?

Rushmore Consultancy,

11 8864

How can I use the COM components in php?

Covansys, Rushmore Consultancy,

1 5712

Who is the father of PHP and explain the changes in PHP versions?

Rushmore Consultancy,

2 2780

What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

HCL, Rushmore Consultancy, Thursday Technology,

11 13888

How can we submit a form without a submit button?

Rushmore Consultancy,

2 3949




How can we know that a session is started or not?

Rushmore Consultancy,

3 5011

How can we create a database using PHP and mysql?

Rushmore Consultancy,

4 2862

Functions in IMAP, POP3 AND LDAP?

Rushmore Consultancy,

1 4983

What is meant by nl2br()?

Rushmore Consultancy,

4 5981

Suppose your Zend engine supports the mode Then how can u configure your PHP Zend engine to support mode ?

Rushmore Consultancy,

1 2933

How can we encrypt the username and password using PHP?

Rushmore Consultancy,

3 3799

What is mean by RSS?How can i use this?

TCS,

1 4497


Post New PHP Questions






Un-Answered Questions { PHP }

armstrong number by using php while number is given by the keyboard.?

991


iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not

762


What is mean tnq

230


sort term descripttion form, report and uery

902


what is constructor

326






is that "enumerated array" equal to "numeric array"?

1327


Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.

815


What is a class in php programing?

1241


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


i m a B.E,passed out few yrs bak failed to find good job due to less marks now thinkin of a career as PHP developer. is it a lucarative field and wat r career prospects; hv heard dat initial salary is very less bout 6k also most jobs r contrct jobs.pls guide me need ur valuable advice.pls hellppp!! thnx..

1046


what are the differences between php and perl

953


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

503


What is different between software and app

502


write a prog using insert,update,delete in this manner as output? name: phno. add button 1.name phno. edit button delete button 2.

677


What is polymorphism?

1342