SlideShare a Scribd company logo
2
Most read
3
Most read
Browser Information in PHP

As you know a browser is application software used to open web pages from
servers or over the internet. A browser is application software which displays
content from the World Wide Web, which includes images, video etc. Today
there are many browsers available in the market. Some browsers are as
follows:Firefox :-

which was developed from Mozilla.

      Safari :- which was developed from Apple.
      Opera :- Mostly used in mobile operating system.
      IE :- which was developed from Microsoft.

To Find Browser Name in PHP

If you want to know a browser name through PHP then you can do that. For
this purpose you will use the following code.




                     www.vineetsaini.wordpress.com
Output




When you browse your code in Microsoft's Internet Explorer then your code
will give the name is Internet Explorer. Like as in the below image:




To Find IP Address in PHP

If you want to determine the IP address of your system through PHP then
you can do that. For this purpose you will use the
$SERVER['REMOTE_ADDR'] function in PHP. The code for determining the IP
address of your system is as follows:


                    www.vineetsaini.wordpress.com
Output




Conclusion

So in this article you saw, how to determine the browser name and IP
address through PHP. Using this article one can easily understand, how to
determine the browser name and IP address in PHP.




                    www.vineetsaini.wordpress.com

More Related Content

PPT
Internet tutorial
PPTX
Wordpress security issues
PDF
Darkmira Tour 2016 - Iae? como vai ser wordpress? esta seguro?
PPTX
Post via e mail in WordPress
PPTX
Post via e mail in word press
PDF
SQL Limit in PHP
PDF
CSS in HTML
PDF
Programming in C
Internet tutorial
Wordpress security issues
Darkmira Tour 2016 - Iae? como vai ser wordpress? esta seguro?
Post via e mail in WordPress
Post via e mail in word press
SQL Limit in PHP
CSS in HTML
Programming in C

Viewers also liked (8)

PDF
Pagination in PHP
PDF
MVC in PHP
PDF
GET and POST in PHP
PDF
Practice exam php
PDF
PHP Technical Questions
PDF
Top 100 PHP Interview Questions and Answers
PDF
Top 100 .Net Interview Questions and Answer
PDF
Top C Language Interview Questions and Answer
Pagination in PHP
MVC in PHP
GET and POST in PHP
Practice exam php
PHP Technical Questions
Top 100 PHP Interview Questions and Answers
Top 100 .Net Interview Questions and Answer
Top C Language Interview Questions and Answer
Ad

Similar to Browser information in PHP (20)

PPTX
Apps development for Firefox OS & introduction to WebAPIs
PPTX
WEB BROWSER
PPT
Php unit i
PPTX
Php hypertext Preprocessor
PDF
Php tutorial
PDF
Top 7 Skills PHP Developer Must Have
PDF
Php tutorial
PDF
Php tutorial
PDF
Php tutorial
DOC
Article 01 What Is Php
PPT
Php hypertext pre-processor
PPTX
Build run first web application using flutter for web
PPT
PHP: Hypertext Preprocessor Introduction
PPTX
Web development tool
PPT
Federico Feroldi Php In Yahoo
PPT
PHP Custom Web application development
PDF
main report on restaurant
PPTX
Web programming using PHP and Introduction with sample codes
Apps development for Firefox OS & introduction to WebAPIs
WEB BROWSER
Php unit i
Php hypertext Preprocessor
Php tutorial
Top 7 Skills PHP Developer Must Have
Php tutorial
Php tutorial
Php tutorial
Article 01 What Is Php
Php hypertext pre-processor
Build run first web application using flutter for web
PHP: Hypertext Preprocessor Introduction
Web development tool
Federico Feroldi Php In Yahoo
PHP Custom Web application development
main report on restaurant
Web programming using PHP and Introduction with sample codes
Ad

More from Vineet Kumar Saini (20)

PDF
Abstract Class and Interface in PHP
PDF
Add edit delete in Codeigniter in PHP
PDF
Introduction to Html
PDF
Computer Fundamentals
PDF
Country State City Dropdown in PHP
PDF
Stripe in php
PDF
Php Tutorials for Beginners
PDF
Install Drupal on Wamp Server
PDF
Joomla 2.5 Tutorial For Beginner PDF
PDF
Functions in PHP
PDF
Sorting arrays in PHP
PDF
Dropdown List in PHP
PDF
Update statement in PHP
PDF
Delete statement in PHP
PDF
Implode & Explode in PHP
PDF
Types of Error in PHP
PDF
Database connectivity in PHP
PDF
Arrays in PHP
PDF
Operators in PHP
PDF
Variables in PHP
Abstract Class and Interface in PHP
Add edit delete in Codeigniter in PHP
Introduction to Html
Computer Fundamentals
Country State City Dropdown in PHP
Stripe in php
Php Tutorials for Beginners
Install Drupal on Wamp Server
Joomla 2.5 Tutorial For Beginner PDF
Functions in PHP
Sorting arrays in PHP
Dropdown List in PHP
Update statement in PHP
Delete statement in PHP
Implode & Explode in PHP
Types of Error in PHP
Database connectivity in PHP
Arrays in PHP
Operators in PHP
Variables in PHP

Recently uploaded (20)

PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Business Ethics Teaching Materials for college
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Institutional Correction lecture only . . .
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Basic Mud Logging Guide for educational purpose
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Complications of Minimal Access Surgery at WLH
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
PPH.pptx obstetrics and gynecology in nursing
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Business Ethics Teaching Materials for college
TR - Agricultural Crops Production NC III.pdf
Institutional Correction lecture only . . .
2.FourierTransform-ShortQuestionswithAnswers.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Basic Mud Logging Guide for educational purpose
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
01-Introduction-to-Information-Management.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Complications of Minimal Access Surgery at WLH
VCE English Exam - Section C Student Revision Booklet
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Classroom Observation Tools for Teachers
PPH.pptx obstetrics and gynecology in nursing

Browser information in PHP

  • 1. Browser Information in PHP As you know a browser is application software used to open web pages from servers or over the internet. A browser is application software which displays content from the World Wide Web, which includes images, video etc. Today there are many browsers available in the market. Some browsers are as follows:Firefox :- which was developed from Mozilla.  Safari :- which was developed from Apple.  Opera :- Mostly used in mobile operating system.  IE :- which was developed from Microsoft. To Find Browser Name in PHP If you want to know a browser name through PHP then you can do that. For this purpose you will use the following code. www.vineetsaini.wordpress.com
  • 2. Output When you browse your code in Microsoft's Internet Explorer then your code will give the name is Internet Explorer. Like as in the below image: To Find IP Address in PHP If you want to determine the IP address of your system through PHP then you can do that. For this purpose you will use the $SERVER['REMOTE_ADDR'] function in PHP. The code for determining the IP address of your system is as follows: www.vineetsaini.wordpress.com
  • 3. Output Conclusion So in this article you saw, how to determine the browser name and IP address through PHP. Using this article one can easily understand, how to determine the browser name and IP address in PHP. www.vineetsaini.wordpress.com