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 (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (175)
 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 do you mean by design patterns (php) ? NIIT 1
what are the various PHP Script Optimization techniques? TCL 1
delete session variable when close browser with out logout   3
How can we submit a form without a submit buttom? A1-Technology 12
Different between the var_dump() and print_r()?   4
how to count how many sundays in month? Photon 6
how can i disable multiple user in the same password in my website using any scripts   1
how will i set pagination ?   2
I have 10 elements of Array, how can i remove 5 array element, with single function.   13
Explain different types of errors in PHP (i.e. arguments in errorreporting function)? Microsoft 7
How can we submit a form without a submit button? CTS 4
How can you parse files that were not ending with .php by using Apache?   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