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


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.

Comments on this entry are closed.

Previous post:

Next post: