Results 1 to 5 of 5

 

Thread: Affiliate links stored in a database

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Jan 2004
    Location
    Surrey
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts


    I am new to using affiliate links and from what I understand you create links to advertisers by copying and pasting their HTML into your own pages.

    Is is possible (or normal) to store these links in a database and have the HTML page dynamically generated by reading the HTML from the database? It may not necessarily be done on the fly but possibly as a overnight batch job to create the static HTML pages (for performance reasons).

    This would allow for easier maintenance by just updating the database rather than having to update potentially 100's of individual web pages.

    Any advice?

  2. #2
    Super Member

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Costa Del Sheffield
    Posts
    2,838
    Thanks
    5
    Thanked 18 Times in 14 Posts
    Hi, welcome to the forums!

    Yes you could do that, you don't want to copy THEIR html, you want the linking code off a networks site (TD, AF, POR, buy.at etc) as long as the end result is a page with that code in sales will track.
    Dan Morley
    alpharooms.com
    daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
    My Blog | Cheap Holidays

  3. #3
    Registered User

    Status
    Offline
    Join Date
    Oct 2003
    Location
    Norfolk
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is the best wat to go IMO.

    from the networks edit box I copy every thing in between href= quotes into one field and img src=" to " into another field.

    That way, on your page you just call up the link field where you whant the link and img field where you want the img.

    php with mysql in a nutshell.

    first create a recordset.

    put <a href="<?php echo recordset['link']; ?>"><img src="<?php echo recordset['img']; ?>"></a> where you want the link.

    If you put that in a table row inside a do while loop it will print all the links in the recordset for you in a nice neat column down the page.

    Use something like dreamweaver and it's a doddle.

    Also beats trolling through loads of pages deleting links when thay don't pay up

    Depending on the hosting server, you can log on from just about anywhere and update the database to change a link.

  4. #4
    YouTube VBlogger

    Status
    Offline
    Join Date
    Aug 2003
    Location
    North Somerset, UK
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sounds so organsied! all my links are currently stored on a spreadsheet, could do with a natter system like that!

  5. #5
    Registered User

    Status
    Offline
    Join Date
    Jan 2004
    Location
    Surrey
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Roger,

    Thanks for the advice and your example.
    I was worried about the maintenance of all those links, but you've put my mind at rest.

    Thanks again.



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Affiliate site not listed on Dmoz.org here is why!
    By supercod in forum Media Coverage & PR Strategy
    Replies: 32
    Last Post: 14-03-08, 11:31 AM
  2. redirecting Affiliate URL Links
    By DanielCoe in forum Affiliate Marketing Lounge
    Replies: 9
    Last Post: 24-03-04, 11:16 AM
  3. Affiliate inbound links and page rank
    By archetects in forum Affiliate Marketing Lounge
    Replies: 6
    Last Post: 29-07-03, 06:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2