How to make an IP logger using a image. 06-08-2013, 11:17 AM
#1
So the first thing you want to do is to get a hosting account on some shitty ass free or paid hosting out there.
If you already have this skip step 1.
1. When you have a hosting account and the DNS servers for your domain has updated, you should start by getting the FTP details.
Lets say the hosting you are using uses cPanel, then your login details are your FTP details.
2. Get a FTP client like FileZilla or whatever else there is. In this tutorial I am going to be using FileZilla.
You can download FileZilla here: https://filezilla-project.org/
3. After FileZilla has downloaded and installed press on the little icon up in the corner that looks like a server with a green arrow sticking trough, and a little window should pop up.
![[Image: f88bPVi.png]](http://i.imgur.com/f88bPVi.png)
4. Then enter your FTP details like I did in the image above and press "Connect".
5. When you are logged in you should see a page something like this.
![[Image: UP1vfjs.png]](http://i.imgur.com/UP1vfjs.png)
6. Depending on your hosting you might already be in your public_html forlder, but if not then press public_html.
When you are there you want to make a folder called "ImageLogger".
Inside of that one you might want to make a nice looking faggot index and later just import all the IP's into that.
Inside of the ImageLogger you want to make another folder called Images.
![[Image: MuHOtTu.png]](http://i.imgur.com/MuHOtTu.png)
7. When you are inside of ImageLogger/Images make two folders, and call one of them .htaccess and another one logger.php.
8. Right click on .htaccess and copy paste the following lines.
You can add more file extensions such as .jpeg and pns.
9. Inside of logger.php you want to write a simple PHP IP logging script.
You can make it more complicated, ex: add timelines and what browser they are using, and wether or not its a server viewing the files or a nigger using google schrome.
If you don't feel like writing your own IP logging script feel free to use mine.
This script will make a file called logger.html. You can change the filename to whatever.
10. This is the final and the simples step.
So all you have to do is to right click and create "new file" and name the files whatever you put in the .htaccess.
Ex: Image.gif, image.png, image.jpg and so on.
This was a really simple but useful tutorial. Hope you enjoyed it.
BlueScreen.
If you already have this skip step 1.
1. When you have a hosting account and the DNS servers for your domain has updated, you should start by getting the FTP details.
Lets say the hosting you are using uses cPanel, then your login details are your FTP details.
2. Get a FTP client like FileZilla or whatever else there is. In this tutorial I am going to be using FileZilla.
You can download FileZilla here: https://filezilla-project.org/
3. After FileZilla has downloaded and installed press on the little icon up in the corner that looks like a server with a green arrow sticking trough, and a little window should pop up.
![[Image: f88bPVi.png]](http://i.imgur.com/f88bPVi.png)
4. Then enter your FTP details like I did in the image above and press "Connect".
5. When you are logged in you should see a page something like this.
![[Image: UP1vfjs.png]](http://i.imgur.com/UP1vfjs.png)
6. Depending on your hosting you might already be in your public_html forlder, but if not then press public_html.
When you are there you want to make a folder called "ImageLogger".
Inside of that one you might want to make a nice looking faggot index and later just import all the IP's into that.
Inside of the ImageLogger you want to make another folder called Images.
![[Image: MuHOtTu.png]](http://i.imgur.com/MuHOtTu.png)
7. When you are inside of ImageLogger/Images make two folders, and call one of them .htaccess and another one logger.php.
8. Right click on .htaccess and copy paste the following lines.
Quote:RewriteEngine on
RewriteRule ^image.png$ logger.php
RewriteRule ^image.gif$ logger.php
RewriteRule ^image.jpg$ logger.php
You can add more file extensions such as .jpeg and pns.
9. Inside of logger.php you want to write a simple PHP IP logging script.
You can make it more complicated, ex: add timelines and what browser they are using, and wether or not its a server viewing the files or a nigger using google schrome.
If you don't feel like writing your own IP logging script feel free to use mine.
Quote:<?php
$log = 'logger.html';
$ip = $_SERVER['REMOTE_ADDR'];
$page = $_SERVER['REQUEST_URI'];
$refer = $_SERVER['HTTP_REFERER'];
$date_time = date("l j F Y g:ia", time() - date("Z")) ;
$fp = fopen("logger.html", "a");
fputs($fp, "
<b>$date_time</b> <br>
<b>IP: </b>$ip<br>
<b>Page: </b>$page<br>
");
flock($fp, 3);
fclose($fp);
?>
This script will make a file called logger.html. You can change the filename to whatever.
10. This is the final and the simples step.
So all you have to do is to right click and create "new file" and name the files whatever you put in the .htaccess.
Ex: Image.gif, image.png, image.jpg and so on.
This was a really simple but useful tutorial. Hope you enjoyed it.
BlueScreen.

![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)










![[Image: 7ajmN5P.jpg]](https://i.imgur.com/7ajmN5P.jpg)






![[Image: 82354115.jpg]](http://arehost.net:9090/photo_share/82354115.jpg)


![[Image: GiXvY27.png]](http://i.imgur.com/GiXvY27.png)