[nycphp-talk] Double Loading PHP as image - Firefox or PHP?
Mark Armendariz
nyphp at enobrev.com
Thu Dec 1 12:28:37 EST 2005
Also, pardon the typos, this wireless keyboard's gotta go...
Here's a repost of the code (with proper newlines)
require_once 'function.file_put_contents.php';
require_once 'function.get.ip.php';
file_put_contents('./output.txt',
get_ip() . ': ' . date('m/d/Y G:i:s') . ': ' .
$_SERVER['HTTP_USER_AGENT'] . "\n");
header('Content-Type: image/gif');
readfile('./count.gif');
Mark
More information about the talk
mailing list