blob: b0fd8ca98f4bead15afcab17103cb56ed7d05303 [file] [log] [blame]
<?php
header("Cache: no-cache, no-store");
$refer = $_SERVER['HTTP_REFERER'];
if ($refer && $refer != "")
print("log('External script (HTTP Referer): FAIL');\n");
else
print("log('External script (HTTP Referer): PASS');\n");
?>
if (document.referrer.toString() != "")
log('External script (JavaScript): FAIL');
else
log('External script (JavaScript): PASS');