Tuesday, 2 August 2016

Grab easily an IP with a simple PHP

Hello Dears , i will show you today how to VERY EASILY make your own and 100% working IP logger to grab any IP adresse you want !

Requirement :
-a PHP hosting ( a free one is perfect )
-a PHP script
-Filezilla or another FTP client

Fisrtable you will need a simple and free web hosting , don't buy one , a free hosting will be perfect
this is some free web hostings :
-http://ohost.de/
-http://www.000webhost.com/
-https://www.alwaysdata.com/
-http://it.altervista.org/

there are many more ...
 

 

 

 

Create an account on that free php hosting , choose a domain and go to the FTP connection details, you must have three informations :
-host
-username
-password

-Open filezilla ( or the FTP client of your choice) and connect to your FTP

THe PHP script :

Now you will need this code :
Code:
<?
$inF = fopen("./ip.ini", "a" ); //
fputs($inF, $REMOTE_ADDR."\n"); //
$hostname = $_SERVER["REMOTE_ADDR"];
$date_str = 'D d M Y H:i:s T(0)';
fputs($inF, date($date_str), $hostname."\n");
fputs($inF, $hostname."\n");
fclose($inF);
?>

Copy it and paste it in a text document and name the file as you want , but with PHP extension , for exemple : hello.php

Now just upload that file to your website via filezilla ...

You will now have an url like this one :http://yoursite.com/hello.php

This is the URL of your IP logger , so to grab an IP , you will just need to gave that link to your victim

Once your victim has visit your URL , just go to :http://yoursite.com/ip.ini to see the date , the hour and the IP of your victim like that :

Conclusion :

This method is simple fast and 100 % working , if your victim click on your link , you will receive his IP in instant on your website
I hope you like my simple tutoriel and i hope it help beginners to make thair own IP grabber.

0 comments:

Post a Comment

Clock

ChatBox

Categories

Feature Post

earn-2000month-via-part-time-jobs-easy Earn $1500-2500 per month from home. No marketing / No MLM . We are offering a rare Job opportunity where you can earn working from home using your computer and the Internet part-time. Qualifications required are Typing on the Computer only. You can even work from a Cyber Café or your office PC, if so required. These part time jobs require working for only 1-2 hours/day to easily fetch you $1500-2500 per month. Online jobs, Part time jobs. Work at home jobs. Dedicated workers make much more as the earning potential is unlimited. No previous experience is required, full training provided. Anyone in any country can apply. Please Visit CLICK HERE TO SIGN-UP

Popular Posts