i have a php script named as "abc.com/autologin.php". This autologin.php is hyperlinked to a button on another web portal def.com. so when a user on def.com click the button he visit abc.com/autologin.php.
So in autologin.php i want to fetch the url of the page where that button is clicked. Url is dynamic as it contains parameters different for different users.