Browser information in PHP
Upcoming SlideShare
Loading in...5
×
 

Browser information in PHP

on

  • 665 views

 

Statistics

Views

Total Views
665
Views on SlideShare
665
Embed Views
0

Actions

Likes
0
Downloads
10
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Browser information in PHP Browser information in PHP Document Transcript

  • 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
  • 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
  • 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