Tuesday, August 7, 2012

PHP Interview for Fresher Job


PHP Interview Question

1.       What is difference between include and require?

2.       What is difference between session and cookies?

3.       How do you create a cookie , add data to it and remove data from a cookie?

4.       How do you create a session, add data to a session and remove data from a   session?

5.       If cookies are displayed will the sessions work? Why?

6.       What is the difference between a framework, IDE, CMS, blog?

7.       What is the difference between $var and $$var?

8.       If a form does not have submit button, how do you submit a form?

9.       Write a function to calculate x to the power y without using the pow function of PHP?

10.   What is the difference between client side validation and serve side validation and what is more secure and why?


No comments:

Post a Comment