Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


How to make a image IP Logger filter_list
Author
Message
How to make a image IP Logger #1
How to make an Image IP-LOGGER

---------------------------------------------------

Ok so first you need 4 files:
.htaccess
image.png
iplogger.php
logger.html

---------------------------------------------------

For .htaccess put this

RewriteEngine on
RewriteRule ^image.png$ iplogger.php

---------------------------------------------------

For iplogger.php put this

PHP Code:
<?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")) ;
$agent $_SERVER['HTTP_USER_AGENT'];
$fp fopen("logger.html""a");
fputs($fp"
<b>
$date_time</b> <br> <b>IP: </b>$ip<br><b>Page: </b>$page<br><b>Refer: </b>$refer<br><b>Useragent: 

</b>
$agent <br><br>
"
);
flock($fp3); 
fclose($fp);
?>

---------------------------------------------------

For logger.html put this

PHP Code:
<b>IP LOGGS</b><br />
<
br />
###########################################<br />
<br /> 

---------------------------------------------------

Dont change image.png

---------------------------------------------------

[NOTE]
image.png can be anything it doesnt matter any picture

[+] 1 user Likes OverFloow's post
Reply

RE: How to make a image IP Logger #2
Doesn't work :/ Do I need to give to .php file any permissions ? I am 100% sure I did what u did here correctly, it is my 4th try of image ip logger, others don't work too.

Reply

RE: How to make a image IP Logger #3
(03-28-2018, 07:29 PM)jasiubor Wrote: Doesn't work :/ Do I need to give to .php file any permissions ? I am 100% sure I did what u did here correctly, it is my 4th try of image ip logger, others don't work too.

Please do not grave dig threads.

The OP hasn't been active for almost the same time as the thread's creation date, so don't expect an answer anytime soon (If ever).
[Image: AD83g1A.png]

Reply

RE: How to make a image IP Logger #4
(03-28-2018, 07:29 PM)jasiubor Wrote: Doesn't work :/ Do I need to give to .php file any permissions ? I am 100% sure I did what u did here correctly, it is my 4th try of image ip logger, others don't work too.

This version is insecure also If you'd like I could make a more improved one with MySQL. If so DM me. No more replies should be made to this thread.

Reply

RE: How to make a image IP Logger #5
Great post man, You beat me to it, I was going to make a similar post about image ip logging. Smile
[Image: j44MzuT.png]

[+] 1 user Likes 413's post
Reply







Users browsing this thread: 3 Guest(s)