PHP – Take the IP address and browser type

on

IP address
(Original Site Image:http://www.cbc.ca)
how do we know the type of browser and IP addresses when we connect to the Internet?
fairly simple way.
The following script with PHP.

<?php
 $ip = $_SERVER[‘REMOTE_ADDR’];//untuk mengambi
 $browser = $_SERVER[‘HTTP_USER_AGENT’];
 echo “IP Address : “.$ip.” Browser : “.$browser;
?>

Simple Posting🙂
good Try and good luck!

2 Comments Add yours

  1. toko jual murah mengatakan:

    Hey there! This is kind of off topic but I need some help from an established blog.
    Is it tough to set up your own blog? I’m not very techincal but I can figure
    things out pretty fast. I’m thinking about creating my
    own but I’m not sure where to start. Do you have any points or suggestions?
    Thanks

  2. juegos de navegador mengatakan:

    He visionado docenas de ocasiones acerca de el presente topico.

    Para nada resulta ser muy singular.Un escrito deel monton.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s