Redirect on all Links [Hidden Referrer]

SpaceshipSpaceship
Watch

tj007s13

Established Member
Impact
1
I am making a site and when people post links now, it goes directly to that site, I want to make a script so that whenever a link is posted it have to go through a refferer.php script. Basically I want the Refferer Info stripped so the site they are linking to can't tell the traffic is coming from us. I have seen sites use this before, but can't find some sample code to even get me started. Can someone post a script, or example, or at least point me in the right direction?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
You can't just delete the referer, it's up to the browser to send it.
 
0
•••
to remove referrer
use this
http://anonym.to/

there's a code there on that frontpage
or use this way
Code:
http://anonym.to/?http://nabaza.com
im not sure why you want it stripped
tj007s13 said:
I am making a site and when people post links now, it goes directly to that site, I want to make a script so that whenever a link is posted it have to go through a refferer.php script. Basically I want the Refferer Info stripped so the site they are linking to can't tell the traffic is coming from us. I have seen sites use this before, but can't find some sample code to even get me started. Can someone post a script, or example, or at least point me in the right direction?
 
0
•••
I've seen sites like anonym.to but I would like the script to be on my site. So if anyone has a script similar to those sites, I would be most appreciative.
 
0
•••
Why don't you want the sites to know the traffic is coming from you?

-Ollie
 
0
•••
I'd like to know why you're doing this. But I think the method you're looking for is.

HTML:
<meta http-equiv="refresh" content="1; URL=http://danltn.com">

It obviously depends on the browser used.
 
1
•••
0
•••
Danltn said:
I'd like to know why you're doing this. But I think the method you're looking for is.

HTML:
<meta http-equiv="refresh" content="1; URL=http://danltn.com">

It obviously depends on the browser used.
This seems to work fine.
 
0
•••
Not all browsers send an empty referrer field with meta refresh but I guess it's your best bet here.
 
0
•••
AHA7 said:
Not all browsers send an empty referrer field with meta refresh but I guess it's your best bet here.
The major ones seem to do so. Actually I was quite surprised to not see them doing it as I was expecting the referrer to be sent also with a meta refresh, however for some reason they do not do it.
 
0
•••
A bit better help for you.

Assuming you have a bunch of links that you want to do this with, on a variety of pages. The number could add up quickly. You don`t want to be creating a seperate redirect page for each link. So, the links should be something like this http://www.blah.ca/forward.php?link_id=1

The forwarding script (Named forward.php of course) Will contain a seperate line for each possible link value.

So in forward we would have the following::

<?
if($_GET['link_id'] == 1){ $redirect_to = "http:///www.flying-cows.ca"; }
//repeat this line for each appropriate link changing as necessary
?>


<meta http-equiv="refresh" content="1; URL=<?=$redirect_to?>">
 
Last edited:
0
•••
0
•••
i have an advanced version of it, and sent you pm about details
 
0
•••
would be interested in that as well, please pm me

is there a 100% solution ? how do I allow access to a site only for certain browsers, that would be more secure if you don't want to send out ANY referrer
 
0
•••
pm sent for working DEMO
you can send anything as a referrer to the target site
 
Last edited:
0
•••
here you go ! DEMO
Code:
http://www.fakeref.com/fakeref.php/http/[COLOR=Red]WRITE-IMAGE-FILE-ADRESS-HERE.jpg[/COLOR]

if you put it in an img tag and post an image inside a forum message it works. it sends image file owners website as a referrer. so target site thinks request is coming from itself

or you can try this:
Code:
http://www.fakeref.com/fakeref.php
( write full url of the file address, not only a website address )
 
Last edited:
0
•••
try it and let me know what happened please
 
0
•••
Ferman said:
try it and let me know what happened please

I'd guess that just uses something like cURL to mask the HTTP_REFERER.
If I guessed right then the page you go to:

If it had relative images, they would not load,
And if they had absolute images then it would send the HTTP_REFERER whilst getting the image, making the script unneeded in the first place.

I tried it whilst using the Live HTTP Headers add on, and it clearly adds "Referer: http://www.fakeref.com/fakeref.php" to every request, which shows the site it comes from...

Dan
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back