Source Code

Get IP Address

  • anonymous
  • Oct 24' 13
  • PHP
  • 446
  • 52
  • United States

Every you browsing to the Internet, your computer have unique ID that represented by 4 oktat number, the name is IP Address. If you using windows, you can type 'ipconfig' in command prompt to show the IP Address, PHP also can show your IP Address bye the command below:


echo 'Your IP Address is <strong>'.$ip.'</strong>';


and will shown

Your IP Address is XXX.XXX.XXX.XXX

happy coding !

  • Tags :
comments powered by Disqus

Related Code

Splash Screen

Border Radius

Session for Keep Values

Solve (LSN) Error 9003 When Attach the Database SQL2000

Zakat Counter

Looking for Date and Time Difference

Send Email Through Console

Program mencari kpk n buah bilangan

Membuat program bilangan n prima

Piramida angka