Jnr PHP/Codeigniter Developer Question:

Download Job Interview Questions and Answers PDF

Explain how can we get the browser properties using PHP?

Jnr PHP/Codeigniter Developer Interview Question
Jnr PHP/Codeigniter Developer Interview Question

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?