[advanced search]
Results from the most recent live auction are here.
12 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 10-29-2007, 09:16 PM   · #1
tj007s13
NamePros Regular
 
Name: T.J.
Location: IL
Trader Rating: (27)
Join Date: Oct 2005
Posts: 239
NP$: 950.40 (Donate)
tj007s13 is an unknown quantity at this pointtj007s13 is an unknown quantity at this pointtj007s13 is an unknown quantity at this point
Redirect on all Links [Hidden Referrer]

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?


Please register or log-in into NamePros to hide ads
tj007s13 is offline   Reply With Quote
Old 10-30-2007, 03:54 AM   · #2
Barrucadu
Formally Mikor.
 
Barrucadu's Avatar
 
Name: Michael Walker
Location: East Yorkshire, England
Trader Rating: (7)
Join Date: Aug 2005
Posts: 2,539
NP$: 164.25 (Donate)
Barrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to behold
You can't just delete the referer, it's up to the browser to send it.
__________________
Me | Blog | Last.fm | F@h | Archlinux.co.uk

archlinux User
Barrucadu is offline   Reply With Quote
Old 10-30-2007, 04:08 AM   · #3
weblord
www.1weblord.com
 
weblord's Avatar
 
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Trader Rating: (224)
Join Date: Dec 2005
Posts: 18,163
NP$: 16235.78 (Donate)
weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness
Autism Protect Our Planet
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
Originally Posted by tj007s13
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?

weblord is offline  
  Reply With Quote
Old 10-30-2007, 07:14 AM   · #4
tj007s13
NamePros Regular
 
Name: T.J.
Location: IL
Trader Rating: (27)
Join Date: Oct 2005
Posts: 239
NP$: 950.40 (Donate)
tj007s13 is an unknown quantity at this pointtj007s13 is an unknown quantity at this pointtj007s13 is an unknown quantity at this point
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.
tj007s13 is offline   Reply With Quote
Old 10-30-2007, 07:37 AM   · #5
kwaping
NamePros Member
 
kwaping's Avatar
 
Name: Ollie
Location: San Diego, CA
Trader Rating: (0)
Join Date: Oct 2007
Posts: 113
NP$: 0.00 (Donate)
kwaping is on a distinguished road
Why don't you want the sites to know the traffic is coming from you?

-Ollie
kwaping is offline   Reply With Quote
Old 10-30-2007, 09:29 AM   · #6
Daniel
Danltn.com
 
Daniel's Avatar
 
Name: Daniel Neville
Location: Danltn.com / Nottingham, UK
Trader Rating: (65)
Join Date: May 2007
Posts: 1,185
NP$: 0.56 (Donate)
Daniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond repute
Ethan Allen Fund Ethan Allen Fund
I'd like to know why you're doing this. But I think the method you're looking for is.

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


It obviously depends on the browser used.
Daniel is offline   Reply With Quote
Old 10-31-2007, 03:16 AM   · #7
weblord
www.1weblord.com
 
weblord's Avatar
 
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Trader Rating: (224)
Join Date: Dec 2005
Posts: 18,163
NP$: 16235.78 (Donate)
weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness
Autism Protect Our Planet
you said in first post:
Originally Posted by tj007s13
they are linking to can't tell the traffic is coming from us.


now you're saying this
Originally Posted by tj007s13
but I would like the script to be on my site.


if youre gonna host the script on your own site, then it defeats the first purpose you posted.

anyways you can get it from
http://www.hotscripts.com/Detailed/70199.html
weblord is offline  
  Reply With Quote
Old 10-31-2007, 07:02 AM   · #8
neroux
NamePros Regular
 
Trader Rating: (5)
Join Date: Oct 2006
Posts: 872
NP$: 26.00 (Donate)
neroux has a spectacular aura aboutneroux has a spectacular aura about
Originally Posted by Danltn
I'd like to know why you're doing this. But I think the method you're looking for is.

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


It obviously depends on the browser used.


This seems to work fine.
__________________
Paris loves CityPics

Slice up your URLs

-- Do not let others be treated this way!
neroux is offline   Reply With Quote
Old 11-01-2007, 03:41 AM   · #9
AHA7
Senior Member
 
AHA7's Avatar
 
Trader Rating: (38)
Join Date: Sep 2005
Posts: 2,074
NP$: 20.66 (Donate)
AHA7 has much to be proud ofAHA7 has much to be proud ofAHA7 has much to be proud ofAHA7 has much to be proud ofAHA7 has much to be proud ofAHA7 has much to be proud ofAHA7 has much to be proud ofAHA7 has much to be proud ofAHA7 has much to be proud of
Not all browsers send an empty referrer field with meta refresh but I guess it's your best bet here.
__________________
AHA7 is offline   Reply With Quote
Old 11-01-2007, 03:52 AM   · #10
neroux
NamePros Regular
 
Trader Rating: (5)
Join Date: Oct 2006
Posts: 872
NP$: 26.00 (Donate)
neroux has a spectacular aura aboutneroux has a spectacular aura about
Originally Posted by AHA7
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.
__________________
Paris loves CityPics

Slice up your URLs

-- Do not let others be treated this way!
neroux is offline   Reply With Quote
Old 11-01-2007, 03:00 PM   · #11
smagik
New Member
 
Trader Rating: (0)
Join Date: Oct 2007
Posts: 8
NP$: 0.00 (Donate)
smagik is an unknown quantity at this point
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 by smagik : 11-01-2007 at 05:48 PM.
smagik is offline   Reply With Quote
Old 11-01-2007, 04:46 PM   · #12
weblord
www.1weblord.com
 
weblord's Avatar
 
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Trader Rating: (224)
Join Date: Dec 2005
Posts: 18,163
NP$: 16235.78 (Donate)
weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness
Autism Protect Our Planet
or use www.freerotator.com to handle all the links it's remotely hosted
weblord is offline  
  Reply With Quote
Old 01-02-2008, 02:55 AM   · #13
Ferman
Senior Member
 
Ferman's Avatar
 
Location: Criticize BUSH at CRITICIZE.TV
Trader Rating: (4)
Join Date: Aug 2004
Posts: 1,155
NP$: 49.00 (Donate)
Ferman has a spectacular aura aboutFerman has a spectacular aura about
i have an advanced version of it, and sent you pm about details
Ferman is offline   Reply With Quote
Old 01-02-2008, 05:59 AM   · #14
sOliver
NamePros Regular
 
sOliver's Avatar
 
Name: s.Oliver
Location: behind you
Trader Rating: (7)
Join Date: Nov 2007
Posts: 261
NP$: 13.70 (Donate)
sOliver has a spectacular aura aboutsOliver has a spectacular aura about
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
__________________
RLTT.com is for SALE Realtime Technologies is the way to go !

ShortURL.info - Shorten it! |Watch Lost Online *NEW*
sOliver is offline   Reply With Quote
Old 01-02-2008, 07:12 AM   · #15
Ferman
Senior Member
 
Ferman's Avatar
 
Location: Criticize BUSH at CRITICIZE.TV
Trader Rating: (4)
Join Date: Aug 2004
Posts: 1,155
NP$: 49.00 (Donate)
Ferman has a spectacular aura aboutFerman has a spectacular aura about
pm sent for working DEMO
you can send anything as a referrer to the target site

Last edited by Ferman : 01-02-2008 at 07:33 AM.
Ferman is offline   Reply With Quote
Old 01-03-2008, 09:13 AM   · #16
Ferman
Senior Member
 
Ferman's Avatar
 
Location: Criticize BUSH at CRITICIZE.TV
Trader Rating: (4)
Join Date: Aug 2004
Posts: 1,155
NP$: 49.00 (Donate)
Ferman has a spectacular aura aboutFerman has a spectacular aura about
here you go ! DEMO
Code:
http://www.fakeref.com/fakeref.php/http/WRITE-IMAGE-FILE-ADRESS-HERE.jpg


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 by Ferman : 01-03-2008 at 09:18 AM.
Ferman is offline   Reply With Quote
Old 01-11-2008, 02:16 AM   · #17
Ferman
Senior Member
 
Ferman's Avatar
 
Location: Criticize BUSH at CRITICIZE.TV
Trader Rating: (4)
Join Date: Aug 2004
Posts: 1,155
NP$: 49.00 (Donate)
Ferman has a spectacular aura aboutFerman has a spectacular aura about
try it and let me know what happened please
Ferman is offline   Reply With Quote
Old 01-11-2008, 09:12 AM   · #18
Daniel
Danltn.com
 
Daniel's Avatar
 
Name: Daniel Neville
Location: Danltn.com / Nottingham, UK
Trader Rating: (65)
Join Date: May 2007
Posts: 1,185
NP$: 0.56 (Donate)
Daniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond repute
Ethan Allen Fund Ethan Allen Fund
Originally Posted by Ferman
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
Daniel is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Get Your Site Linked at LinkedKeywords.com Grow your forum! EscrowDNS
Advertise your business at NamePros
All times are GMT -7. The time now is 04:59 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0