Database driven affiliate websites

Setting Up An Affiliate Database Driven Website

So you can make money - automatically.

You can have a "hands free" database driven affiliate site up and running by following these instructions.

The first datafeed video (the one you watched at the top of this page) gets a datafeed on your site ready for use.

  • FTP zip datafeed to your web server
  • Unzip the file on your server

Simple.

Now we get ready to dump the datafeed into a MySQL database.

First things first. Need to setup a MySQL database - that means having a database name, a username, and password.

This database setup video shows you exactly what to do.

  • Create a MySQL database
  • Create a user and password
  • Assign the user to the database

Keep Your Site Running Smooth

To make life a little easier, you will want to create a config file that contains the database, username, and password. This file, which we will name config.php, will be used to retrieve and store information.

Config file should look something like this.


<?

$mysql_database 
"account_databasename";

$mysql_user "account_databaseuser";

$mysql_password "password";

$dbh=mysql_connect ("localhost"$mysql_user$mysql_password ) or die (mysql_error());

mysql_select_db ($mysql_database);

?>


Once complete, the config file gets uploaded to your server.


Share: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Sphinn
  • Mixx
  • StumbleUpon
  • MisterWong

7 Responses to “Setting Up An Affiliate Database Driven Website

  • 1
    Chris
    March 2nd, 2008 15:30

    Hi Dave,

    I like the idea! Hope I'm successful. A gardening site would fit nicely into my network of other gardening sites.

    Good luck with the project

    Chris

  • 2
    Brian
    March 2nd, 2008 20:14

    I hope you create a template niche affiliate site tool.

    I have limited programming skills, so please make a Plug and Play script tool that we can then add any niche products to make custom database affiliate sites!

    Looking forward to seeing this database affiliate site!

  • 3
    Mike
    March 3rd, 2008 00:02

    Is this something you'd be willing to share/sell ? Sounds like a pretty effective way to build sites.

  • 4
    April
    March 3rd, 2008 05:39

    Using affiliate feeds is something that I've been looking into a lot lately. I'm getting fed up writing so many articles!

  • 5
    Random Text
    March 3rd, 2008 13:25

    [...] Setting Up An Affiliate Database Driven Website [...]

  • 6
    admin
    March 3rd, 2008 15:40

    @Mike

    "Is this something you’d be willing to share/sell ? Sounds like a pretty effective way to build sites"

    Yep, I'm looking for a little "link love" and will provide a FREE copy of this script for people that do what you're doing - commenting, linking back, social bookmarking this site, get on my mailing list, add to feedburner.

    Dave

  • 7
    Sharan
    July 14th, 2008 13:23

    I have watched your videos several times and the sites you can create with the script look good. I would be glad to create some "link love" and other things you have suggested to get a look at the actual script instead of just seeing it on the videos.

    I subscribed to you feed several days ago.

    Sharan

Leave a Reply