1. Jason Leveille
  2. CookieTest

Source

CookieTest / pixel / index.php

1
2
3
4
5
6
7
8
<?php
    $value = 'no cookie';
    if(isset($_COOKIE['TestCookie'])) {
        $value = $_COOKIE['TestCookie'];
    }
    file_put_contents('log', $value, FILE_APPEND);
    header('Content-Type: image/gif');
    echo base64_decode('R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==');