Jnr PHP/Codeigniter Developer Question:
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.
Previous Question | Next 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? |