ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Scripts >> PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions (659)
 ASP interview questions  ASP Interview Questions (252)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (176)
 VB Script interview questions  VB Script Interview Questions (343)
 JSP interview questions  JSP Interview Questions (100)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
Question
How can we get the browser properties using PHP?
 Question Submitted By :: PHP
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
$_SERVER['HTTP_USER_AGENT']; 
Is This Answer Correct ?    91 Yes 9 No
Umapathi
 
Answer
# 2
You can use get_browser() function

$browser_details = get_browser(null, true);
print_r($browser_details);
 
Is This Answer Correct ?    20 Yes 7 No
Binoyav
 
 
 
Answer
# 3
echo $_SERVER['HTTP_USER_AGENT'] . "<hr />\n";

$browser = get_browser();

foreach ($browser as $name => $value) {
echo "<b>$name</b> $value <br />\n";
}
 
Is This Answer Correct ?    19 Yes 6 No
Munish Saini
 
Answer
# 4
THANKS!!! Great website! 
Is This Answer Correct ?    4 Yes 3 No
Phpwizz
 
Answer
# 5
You can get all the information using this tool
http://www.BrowserProperties.com

Tell us how you did
 
Is This Answer Correct ?    4 Yes 4 No
Tomer
 
Answer
# 6
go to the browser and ask its properties directly!!!...or
else die!!!.....
 
Is This Answer Correct ?    15 Yes 76 No
Sumapathi
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
What is the difference between Joomla and Drupal? T3-Softwares 8
delete session variable when close browser with out logout   3
How to differentiate isset and empty A1-Technology 6
how to insert, update data in database   4
How can I embed a java programme in PHP file and what changes have to be done in PHP.ini file? Sify 1
How many ways are there for passing variables between pages in PHP and what are they ?   10
when we use ob_start() function in php then the header() and session_start() does not gives the error like header already sent,please explain in brief   1
i got this error msg in online... how to solve this problem... i couldnot find out as soon as possible send me answer or idea COULD NOT ABLE TO CONNECT DATABASE . Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) Quest 3
1.What is application server ? 2.What is web server ? 3.Explain the process of execution of a php file ? IBM 9
What are Sub routines?   1
How i can integrate merchant payment get way in zen cart? in php? plz help me BA-Continnum-Solutions 1
How can I use the COM components in php? Rushmore-Consultancy 1
 
For more PHP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com