How can we get the browser properties using PHP?

Answer Posted / pritam m

get_browser(string user_agent, bool return_array)
this function returns the browser info , but for this it depend upon the user and also the 'browscap' parameter need to set to point to the correct location of browscap.ini on your system.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a mysql connection in php?

517


Does exist in php?

528


Explain how can we increase the execution time of a php script?

503


Is server side a session?

495


Explain some most commonly use string functions in php?

501






How do you count numbers in php?

492


When is a conditional statement ended with endif?

497


How to find a specific value in an array?

502


What is different between software and app

1227


Explain type casting and type juggling.

550


Is php fully object oriented?

481


Is python easier than php?

534


What is $_ get in php?

601


How is it possible to remove escape characters from a string?

567


What is php mean?

556