PHP Is a simple easy to use language that provides the refer value in a variable called @$_SERVER[‘HTTP_REFERER’] and the user agent in a variable named
Create a new php file name whatyousent.php and put the contents below inside
echo “Refer: ” . @$_SERVER[‘HTTP_REFERER’] . “<P>”;
echo “User Agent: ” . @$_SERVER[‘HTTP_USER_AGENT’] . “<P>”;
Save this and upload it to your website root directory, than set the target website to http://<your-domain.com/whatyousent.php , and be sure to check “Show Website after request.
(In The picture our domain is localhost)
After you submit you should see the results of your code