php referer url
snippet in php

php referer url

user5200

$_SERVER['HTTP_REFERER'];