Browser Information in PHPAs you know a browser is application software used to open web pages fromservers or over the int...
OutputWhen you browse your code in Microsofts Internet Explorer then your codewill give the name is Internet Explorer. Lik...
OutputConclusionSo in this article you saw, how to determine the browser name and IPaddress through PHP. Using this articl...
Upcoming SlideShare
Loading in …5
×

Browser information in PHP

496
-1

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
496
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Browser information in PHP

  1. 1. Browser Information in PHPAs you know a browser is application software used to open web pages fromservers or over the internet. A browser is application software which displayscontent from the World Wide Web, which includes images, video etc. Todaythere are many browsers available in the market. Some browsers are asfollows: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 PHPIf you want to know a browser name through PHP then you can do that. Forthis purpose you will use the following code. www.vineetsaini.wordpress.com
  2. 2. OutputWhen you browse your code in Microsofts Internet Explorer then your codewill give the name is Internet Explorer. Like as in the below image:To Find IP Address in PHPIf you want to determine the IP address of your system through PHP thenyou can do that. For this purpose you will use the$SERVER[REMOTE_ADDR] function in PHP. The code for determining the IPaddress of your system is as follows: www.vineetsaini.wordpress.com
  3. 3. OutputConclusionSo in this article you saw, how to determine the browser name and IPaddress through PHP. Using this article one can easily understand, how todetermine the browser name and IP address in PHP. www.vineetsaini.wordpress.com

×