PHP Example

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://< , and be sure to check “Show Website after request.

HTTP referral

(In The picture our domain is localhost)

After you submit you should see the results of your code

HTTP Referral Testing results

Leave a Reply

Your email address will not be published. Required fields are marked *