PDA

View Full Version : Auto Replace words or links hack request


fello9
07-24-2002, 11:07 PM
Hi,

We have a database (MYSQL, PHP) of about 300 dot com stores.

When someone types one of those 300 store names it should automatically point to the affiliate url pulled from our database or site.

i.e. when someone types buy.com it should point to our databas link of buy.com

It would look like this: buy.com (http://www.jumpondeals.com/redirect.php3?sid=27).


it points too this url: http://www.jumpondeals.com/redirect.php3?sid=27


Ok, I know this can be done in the templates by adding all 300 stores. But, first of all I don't want to sit and add so many stores. Second of all, it gives me problems when a word (that's being replaced with our URL) shows up in the title linking it to replacement URL and not to the tread URL.

Logician
07-25-2002, 09:23 AM
Check that out, it may (or may not) help:

https://vborg.vbsupport.ru/showthread.php?s=&threadid=39071&highlight=amazon

fello9
07-25-2002, 03:27 PM
I have seen that thread before but basically it's a solution on an individual basis. I'll have sit and write the coding for 300 - 500 stores.

I want a script or something that should go to my existing database of stores and link to those URLs that we have in our database.

Anyone interested in doing it for me? I'll pay you for it!

Steve