All pastes #473915 Raw Edit

Miscellany

public php v1 · immutable
·published 2007-05-06 14:19 UTC
rendered paste body
<?phpDEFINE('CACHEDIR', '/cache/');if ( ereg("digg.com", $_SERVER['HTTP_REFERER']) ) {        $id = md5('QUERY_STRING' . time());        if ( file_exists(CACHEDIR . $id) ) {                header("Location: " . CACHEDIR . $id);        }}?>