CodeClerks

Hide HTTP Referer Header Script for $20

100% (6)

Hide HTTP Referer Header Script

When an HTML link that references a website is clicked, the web browser will send a request to the server holding the destination webpage / website. Among the request sent by the browser to the server is the HTTP Referer which indicate the URL of the webpage that refered the user to the site.

For example, say http://tech4sky.com links to http://wapden.net, the HTTP referer will be Tech4sky.com because it referred the user who clicked it HTML link to the Wapden.net site.

Below is an image of a request header with the Referer field sent to the linked website server.


Using my PHP script to link to a website will remove the HTTP referer field.



For reason best known to you, you might want to block the referer field from being sent when an external link in your site is clicked.
This can be useful in a number of situations such as:

  • Perhaps you think webmasters don’t have any business knowing where you found the link to their site.
  • Some sites perform misguided referer checks in the name of “security”. These checks don’t add any real security since the referer is easily faked and can often cause problems when the browser’s behavior changes. You can these sites whatever they are expecting and work around this kind of problem.
  • Send humorous things, secure in the knowledge that they are being written into the server’s log file for the amusement of anyone who might later discover them there. Ok, maybe that’s not much fun, but you can do it anyway.

This PHP script remove or blank out the HTTP referer when linking to a website.
With this script, you will be able to build your own http://nullreferer.com http://anonym.to http://refhide.com alternative.


Tags

Php Script Http Header Referer Anonymous Link

5.0

6 reviews

Rating breakdown

  • 6
  • 0

unixknight
unixknight
6 years ago
As promised the code is working like charm, I like it!
Easy / low to no time consuming to implement :)
Thank you!
Apk4play
Apk4play
8 years ago
thanks
great seller
garret1
garret1
9 years ago
postal66
postal66
10 years ago
Thank order has been completed
goldenrage
goldenrage
10 years ago
Thanks collizo4sky. Awesome stuff!
nguyendatvn
nguyendatvn
10 years ago
Thank's

Comments

Please login or sign up to leave a comment

Join
Marketoftrade
Hello, two question:

1) with this script can I simulate the referral link? For example, I want the click on the X link to come from the Y site set by me (ex. Facebook)

2) is based on "header ('Location:'. $url);" or does the script redirect before arriving at destination?

Thanks in advance



Are you sure you want to delete this post?

Write your comment here...
collizo4sky
1. You can not simulate a referral link.

2. Been a while I checked the code... so can't tell.



Are you sure you want to delete this post?

Write your comment here...
sdamy65
offer is still active ? script is update?



Are you sure you want to delete this post?

Write your comment here...
collizo4sky
What offer? what do you mean by "script is update?"



Are you sure you want to delete this post?

Write your comment here...
sdamy65
does it work with php 7.1 ?



Are you sure you want to delete this post?

Write your comment here...
collizo4sky
Yes.



Are you sure you want to delete this post?

Write your comment here...
cpalead
Please let me know how to modify the config.php ,
or please send me the updated config.php to my ,then I will know how to fix it.

http://prntscr.com/gfole4

Also in your demo, It seems like your script doesn't work with url shorten service: http://demo.w3guy.com/hide-http/https://goo.gl/hFehb6



Thanks



Are you sure you want to delete this post?

Write your comment here...
collizo4sky
Simply Change
http://localhost/href%20hide%20http%20referer/
to the installation url and you are done.



Are you sure you want to delete this post?

Write your comment here...
cpalead
Please let me know it's to change the "$host " or " host " ,
I don't know code!

Thanks.



Are you sure you want to delete this post?

Write your comment here...
Hide HTTP Referer Header Script for $20 is ranked 5 out of 5. Based on 6 user reviews.
$20 - In stock

We use a range of cookies to give you the best browsing experience.
By continuing to use this website, you agree to our use of cookies.