Core PHP interview questions – page 5

373 questions. Tap “Show answer” to check yourself.

Advertisement
  1. What is difference between require_once(), require(), include()?Because above three function usefully use to call a file in another file.

  2. What is the difference between session_register and $_session?

  3. Is Inheritance supported in PHP?

  4. What is the use of obj_start()?

  5. How i can make a chat page in php in simple?

  6. What is the difference between echo and print statement?

  7. What is difference between mysql_fetch_array(),mysql_fetch_row() and mysql_fetch_object()please insert with example?

  8. What would be the differences between PHP and Java?

  9. What is difference between mysql_connect and mysql_pconnect?

  10. Where does the PHP session stored, either client side or server side?

  11. How can i get ip address?

  12. In case of download in php, How will you make a percentage bar showing current status of total 100%?

  13. Advertisement
  14. How do download in php ?

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

  16. How i will check that user is, logged in or not. i want to make it a function and i want to use in each page and after login i want to go in current page(same page. where i was working)?

  17. How would you initialize your strings with single quotes or double quotes?

  18. If you have to work with dates in the following format: "Tuesday, February 14, 2006 @ 10:39 am", how can you convert them to another format, that is easier to use?

  19. What is the effect of large number of data stored in a database on a website ?

  20. Difference between require() and include()

  21. What is the difference between Split and Explode?

  22. How to prevent form hijacking in PHP?

  23. What do you need to do to improve the performance (speedy execution) for the script you have written?

  24. How to add multiple categories through PHP?

  25. What are new features that are in added in PHP5?

  26. Advertisement
  27. How to handle drop down box change event without refreshing page?

  28. How do you capture audio/video in PHP?

  29. What is the use of a form in html page? Is there any way to submit the page without using the form.

  30. How many ways I can redirect a PHP page?

  31. How do I add to the beginning of an array and find the number of elements in it?

  32. What is the functionality of md5 function in PHP?

Advertisement