1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URL Shortener Site - What Script Is This?

Discussion in 'General Scripting Chat' started by cocabom, Sep 29, 2011.

  1. cocabom

    cocabom Registered Member

    Joined:
    Jun 26, 2010
    Messages:
    97
    Likes Received:
    26
    Can someone here share with me or tell what script this site use. I want to use this script to make my own URL shortener site..

    Site: http://iluvurl.com/


    Thanks for your help..
     
  2. olimix

    olimix Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    232
    Likes Received:
    71
    Location:
    11h11 brothers
    just a non-working exemple
    PHP:
    <?php
    if(isset($_GET['id']))
    {
    $req select in database where id $GET['id'];
      if(
    mysql $req)
      {
       
    header("Location: $req['url']");
      }
    }
    ?>
     
  3. blackhatcodex

    blackhatcodex BANNED BANNED

    Joined:
    Aug 28, 2011
    Messages:
    144
    Likes Received:
    248
    Here's a URL shortener script with a step-by-step how-to setup:

    HTML:
    http://briancray.com/2009/08/26/free-php-url-shortener-script/
     
  4. xpwizard

    xpwizard Junior Member

    Joined:
    Nov 6, 2010
    Messages:
    198
    Likes Received:
    122
    If you're after a good URL shortner script to use as a base, then check out either shorty or yourls.

    Code:
    Shorty Beta:
    http://get-shorty.com/shorty/
    
    YOURLS:
    http://yourls.org/
     
  5. mrfacebook101

    mrfacebook101 Newbie

    Joined:
    Sep 6, 2011
    Messages:
    40
    Likes Received:
    15
    Occupation:
    Crawling all over the internet
    Location:
    Home 101
    Nice script.. Will use that soon!
     
  6. licorne101

    licorne101 Registered Member

    Joined:
    Aug 22, 2011
    Messages:
    88
    Likes Received:
    118
    Very interesting. I plan to create a link extender just for fun/trolling. The domain would be important. Btw, what will your domain be?
     
  7. hoathuancntt

    hoathuancntt Newbie

    Joined:
    May 2, 2010
    Messages:
    13
    Likes Received:
    4
    I have a source of tinyurl.
    Who need pm. I'll share free :D
     
  8. danielson101

    danielson101 Junior Member

    Joined:
    Aug 14, 2011
    Messages:
    177
    Likes Received:
    15
    Occupation:
    Online
    Location:
    London
    I used yourls for my cheeky little one here - http://cmprs.me