Un-Flashed Version
non-flash version
$uri = $_SERVER['HTTP_REFERER'];