1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

url masking w/ cgi or php

Discussion in 'Programming' started by dav1e215, Jan 6, 2006.

  1. #1
    dav1e215, Jan 6, 2006 IP
  2. cytech

    cytech Guest

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    well, I would take this approach.

    Create a database and put the different value in.

    So when ID 1 comes in it associates with the specified URL in the db.

    Then create two frames and load the URL within the larger of the two.

    This is very similiar to what Godaddy does when they forward their domains.
     
    cytech, Jan 7, 2006 IP
  3. Big 'G'

    Big 'G' Member

    Messages:
    89
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    48
    #3
    Big 'G', Jan 8, 2006 IP
  4. dav1e215

    dav1e215 Active Member

    Messages:
    263
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #4
    I cant seem to figure this out, I currently add afffiliate links through a database and as you may know affiliate links are rather long. I currently use a urls.php file where I add the affiliate URL to the numbered list and it will hide my url and show this instead of the original affiliate link:

    http://www.mysite.com/url.php?here=1938

    and the number corresponds to the number on the list that I've added it to. The only problem is this is rather a timely procedure, is there any type of coding that would let me just add the long links like normal and it can automatically generate a shorter link hiding my affiliate details? This is can be as simple as a mouseover but I needed it to show each link as a different number. Can someone please point me in the right direction. Thanks for any help at all :)
     
    dav1e215, Jan 11, 2006 IP