Jnr PHP/Codeigniter Developer Question:

Explain how can we get the browser properties using PHP?

Tweet Share WhatsApp

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 PDF Read All 61 Jnr PHP/Codeigniter Developer Questions
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?