$ref = getenv("HTTP_REFERER"); //echo $ref; $playlistNo = $_GET['playlistNo']; $token=$_GET['token']; IF ($token != hexdec(date("WHz"))) header("location: classic-radio.php"); // Prevent direct access ?>