View Single Post
  #3  
Old 10-11-2005, 10:03 PM
Sniper Sniper is offline
Junior Member
 
Join Date: Oct 2005
Posts: 13
Geek Article and Review System License Holder 
Default

not quite, the goal is to turn the non-affiliated link into a affiliated link.

e.g. the script would have this is the data base

name: micro direct
url to affiliate: www.microdirect.com
affiliate url: http://clkuk.tradedoubler.com/click?p=21759&a=1058515&g=871679&url=

now when a user comes and post a link to http://www.microdirect.co.uk the script would search for the url http:/www.microdirect.co.uk and turn it into this http://clkuk.tradedoubler.com/click?p=21759&a=1058515&g=871679=http://www.microdirect.co.uk

the url to affiliate could even be http://www.microdirect.co.uk/products.php?p_id=343

so with the script it would look like this http://clkuk.tradedoubler.com/click?p=21759&a=1058515&g=871679&url=http://www.microdirect.co.uk/products.php?p_id=343

you could apply this to so many other affiliates, you have to remember the affiliate url is different for each company.

let me know if you get what I mean

so it looks for a URL and adds a certain URL before it defined by the admin.
Reply With Quote