Jnr PHP/Codeigniter Developer Question:
Download Questions PDF

Explain how can we get the browser properties using PHP?

Answer:

Simple answer is using $_SERVER['HTTP_USER_AGENT']. Not so simple is that we need to take into account proxy servers and other situations. In total, this information is defined in 3 $_SERVER variables.

Download Jnr PHP/Codeigniter Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me in PHP what is the difference between a Class and an Interface?List out different types of the hook point in Codeigniter?