Redirect and show referer???

Discussion in 'General Programming Chat' started by wealthy199, Jul 1, 2008.

  1. wealthy199

    wealthy199 BANNED BANNED

    Joined:
    Sep 24, 2007
    Messages:
    584
    Likes Received:
    1,089
    Ahh, I've been scouring google for the last half an hour trying to find a way to redirect someone while showing the referer.

    Can it be done?

    What I want is someone to go to site 1 (could be any site), then they click a link that sends them to site 2 where they are redirected straight away to site 3. I want site 2 to show as the referer.

    Can anyone help?
     
  2. boomboomer

    boomboomer Executive VIP

    Joined:
    Feb 7, 2008
    Messages:
    717
    Likes Received:
    888
    This would only be possible using an iframe ... I think that is how offercloak does it as well ..
     
  3. wealthy199

    wealthy199 BANNED BANNED

    Joined:
    Sep 24, 2007
    Messages:
    584
    Likes Received:
    1,089
    Bummer, I thought that might be the case.

    All well, thanks for telling me.
     
  4. jaeden

    jaeden BANNED BANNED

    Joined:
    Jun 3, 2008
    Messages:
    232
    Likes Received:
    28
    it should be possible to rewrite the http header as a user passes through the redirect so that the referrer gets forwarded.
     
  5. boomboomer

    boomboomer Executive VIP

    Joined:
    Feb 7, 2008
    Messages:
    717
    Likes Received:
    888
    The referer is a read only property that can't by modified by tampering with the http header ..
     
  6. loclhero

    loclhero Supreme Member

    Joined:
    Jun 11, 2007
    Messages:
    1,455
    Likes Received:
    2,418
    Gender:
    Male
    Location:
    Copperhead Road
    Great minds think alike. This is my whining thread I started yesterday
    http://www.blackhatworld.com/blackhat-seo/cookie-stuffing/17564-need-help-cashcorps-htaccess-method-cs.html

    Where I'm also stuck though is that if I do this with myspace, the cookie ain't gettin' stuffed with this method.
     
  7. gabixxx

    gabixxx Jr. VIP Jr. VIP

    Joined:
    Dec 23, 2007
    Messages:
    135
    Likes Received:
    70
    well .. what about a javascript form redirect

    < script language=javascript >
    document.f.submit();
    </ script >

    < form name=f action="affiliate_link" method=get >
    </ form >