Interview questions for PHP Fresher
Q2. How can sub domains be created using PHP?
Q3. In the context of PHP, what is type juggle?
Q4. Tell us what you know about the various changes that have taken place in the PHP versions.
Q5. What are the various types of errors in PHP?
Q6. Differentiate between cookie and session. Q7. How can a database be created using PHP and MySQL?
Q8. How can a username and password be encrypted with the help of PHP?
Q9.How can ASP pages be converted to PHP pages?
Q10. What do you know about urlencode?
Q11. What are the benefits of indexes?
Q12. Tell us what you know about the Normalization concept.
Q13. How can the execution time of a PHP script be increased?
Q14. How can variables be registered into a session?
Q15. How can a cookie be destroyed?
Q16. How can the number of elements in an array be counted?
Q17. How can a MySQL table be repaired?
Q18. How can a form be submitted if it does not have a submit button?
Q19. Will the sessions work if the cookies are disabled?
Q20. Differentiate between require and include.
Q21. If you were asked to create a cookie, add data, and then remove the same from the cookie, how would you do it?
Q22. Who is known as the Father of PHP?
Q23. How can a PHP script be executed with the help of command line?
Q24. Explain: session_set_save_handler in PHP.
Q25. Which are the predefined classes in PHP?
Q26. What are the benefits of stored procedures?
Q27. What are the disadvantages of Cascading Style Sheets?
Q28. Why do we need the md5 function in PHP?
Q29. How would you track the number of users who have logged in?
Q30. What can you tell us about URL rewriting?
Q31. Differentiate between $$message and $message.
Q32. What is PHP?
Q33. What is the difference between Explode and Split?
Q34. Tell us what you know about zend engine.
Q35. How can files be uploaded using PHP?
Q36. What is the process of converting time zones using PHP?
Q37. How can data be loaded to a table from a text file?
Q38. Explain PEAR in PHP.
Q39. How would you define a session?
Q40. In order to upload the files, how can the FORM tag be written correctly?
Q41. How can a simple chat page be made in PHP?
Q42. What is IMAP used for?
Q43. What do you know about CAPTCHA?
Q44. How can data be passed from one web page to another web page?
Q45. What is Return URL?
Q46. Explain the functions of the super-global arrays in PHP.
Q47. How can a reusable code be created in PHP?
Q48. How can a session be destroyed?
Q49. How does a framework work?
Q50. What is the advantage of a framework?