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:
Are you sure you want to delete this post?
Are you sure you want to delete this post?
Are you sure you want to delete this post?
Are you sure you want to delete this post?
Are you sure you want to delete this post?
Are you sure you want to delete this post?
Are you sure you want to delete this post?
Marketoftrade
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 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?