Core PHP interview questions – page 3

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

Advertisement
  1. How can I get the only name of the current executing file?

  2. What are the differences between include() and include_once () functions?

  3. Describe the importance of DABA BASE ABSTRACTION LAYERS in PHP and database connection?

  4. What is the difference between using copy() and move() function in PHP file uploading?

  5. What is the difference between Reply-to and Return-path in the headers of a mail function?

  6. What are the differences between PHP3 and PHP4 versions?

  7. What type of headers have to add in the mail function in which file a attached?

  8. What are the Merits and De-Merits of CURL library ?

  9. What's diffrence between Get() and Post() Function

  10. List out different arguments in PHP header function?

  11. Write the code for upload a video file in PHP.How will You Play this in Your Page.?

  12. What is the advantge and disadvantage of mysql_connet() and mysql_pconnect() ? in which condition will you use mysql_connect() and mysql_pconnect().

  13. Advertisement
  14. does PHP support foreign key and Rollback?yes or not.if not then why. how will you done these concept in php?

  15. Why these language is needed?

  16. How do you run a php script from the command line?

  17. when you will get the message/error "headers already sent"?

  18. How can you get, the total size of a certain directory?

  19. How to find out, how a user visited a particular page?

  20. Without using forms and hidden variables, how to send variables from a PHP script to another URL using POST method?

  21. How do you set the browser timeout?

  22. Whats the difference between include() and require()?

  23. what method is used to get a user's IP address?

  24. Is it possible to connect to a Microsoft Access database without a DSN? If so, how??

  25. Does it possible to compile php with mysql without having mysql sources?

  26. Advertisement
  27. What does PHP stand for?

  28. Is it possible to get the screen resolution and like with php?

  29. How can you count number of parameters given in a URL by POST method?

  30. what is this error "Call to unsupported or undefined function mysql_connect();" and when you will get this?

  31. How can you parse files that were not ending with .php by using Apache?

  32. what method is used to generate a random number?

Advertisement