summaryrefslogtreecommitdiff
path: root/FunnyDotImage.php
blob: f2e1110c4b5a47d55c15ee3cb55236c1d4f21f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

require ('includes/WebStart.php');

$time = time();

setCookie('AntiSpamTime', $time);
setCookie('AntiSpamHash', sha1($time.$wgAntiSpamHash));

header('HTTP/1.1 200 OK');
header("Cache-Control: no-cache, must-revalidate");
header('Content-Type: image/png');
header('Content-Length: 69');

/** transparent png (1px*1px) */
echo base64_decode('iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVQImWNgYGAAAAAEAAGjChXjAAAAAElFTkSuQmCC');

exit;

?>