WEB I need a redirection script, kinda like what DA uses

Discussion in 'OT Technology' started by Browning, Apr 1, 2008.

  1. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,465
    Likes Received:
    10
    I need to set up some sort of redirection script like what diggassist uses so when a user clicks download, it takes them to it before grabbing a download from esnips:mamoru: What's a good one?

    I guess I could have just sent a pm to Jesse:o
     
  2. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,465
    Likes Received:
    10
    thanks guys, I found one:o
     
  3. Logik

    Logik Livin la vida broka

    Joined:
    Jun 30, 2000
    Messages:
    20,667
    Likes Received:
    1
    Location:
    The Steel City
    here's 2...

    PHP:
    Code:
    <?php
    // Change to the URL you want to redirect to
    $URL="http://beautyandtheboost.com/";
    header ("Location: $URL");
    ?>
    or JavaScript:
    Code:
    <script language="javascript" type="text/javascript">
         <!--
    	// Change to the URL you want to redirect to
    	window.location="http://beautyandtheboost.com";
         // -->
    </script>
     
  4. Jesse

    Jesse PSN: iamajesse; XBL: Inhale My Rod; G8 GT crew; Ne OT Supporter

    Joined:
    Jan 12, 2005
    Messages:
    25,649
    Likes Received:
    0
    Location:
    California :: (925)
    A simple redirect won't always block the referer.
     

Share This Page