Core PHP interview questions – page 10

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

Advertisement
  1. Server Start/Stop/Restart unix command

  2. What is Persistent Database Connections?

  3. What is Difference between local variable and data members or instance variable?

  4. Explain mysql_error().

  5. How to store the uploaded file to the final location?

  6. How to store the uploaded file to the final location

  7. What are encryption functions in PHP?

  8. What Is difference between Cookie and Session?

  9. What Is difference between array_combine and array_merge?

  10. what is the static variable in function useful for?

  11. Is it possible to remove the HTML tags from data?

  12. What does the function get_magic_quotes_gpc() means?

  13. Advertisement
  14. How can we automatically escape incoming data?

  15. How is it possible to remove escape characters from a string?

  16. How do I escape data before storing it into the database?

  17. What does the unset() function means?

  18. How is it possible to know the number of rows returned in result set?

  19. How the result set of Mysql be handled in PHP?

  20. What is the function mysql_pconnect() usefull for?

  21. What is the function file_get_contents() usefull for?

  22. What should we do to be able to export data into an Excel file?

  23. What does the PHP error ‘Parse error in PHP – unexpected T_variable at line x’ means?

  24. How is it possible to set an infinite execution time for PHP script?

  25. How can we display information of a variable and readable by human with PHP?

  26. Advertisement
  27. How can we encrypt and decrypt a data present in a MySQL table using MySQL?

  28. How we get IP address of client, previous reference page etc ?

  29. What is htaccess? Why do we use this and Where?

  30. What is meant by nl2br()?

  31. Shopping cart online validation i.e. how can we configure Paypal, etc.?

  32. Suppose your Zend engine supports the mode <? ?> Then how can you configure your PHP Zend engine to support <?PHP ?> mode ?

Advertisement