PHP – Take the IP address and browser type


IP address
(Original Site Image:
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.

 $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 berkata:

    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?

  2. 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:


You are commenting using your account. Logout /  Ubah )

Foto Google

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.