home
Guest Signup/Login to unlock all features

Menu

Views: 1090

Replies: 0

Share this post
facebook twitter gplus

avatar

HERO

dice5t

How to get users IP using php

Oct 06 2014 at 10:50am

here is a simple php snippet that get the ip of a user's machine:

<?php

$getIp=$_SERVER['HTTP_REMOTE_ADDR'];

echo"Your ip is: $getIP";

?>



Quick reply


+ files BBCode

Sponsored