MySQL
  Home arrow MySQL arrow Building a Simple Affiliate System in ...
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Actuate Whitepapers 
VeriSign Whitepapers 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MYSQL

Building a Simple Affiliate System in PHP/MySQL
By: Roger Stringer
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 40
    2005-11-10

    Table of Contents:
  • Building a Simple Affiliate System in PHP/MySQL
  • Building The Database
  • Being Common
  • Your Index Page
  • Letting Affiliates Log in
  • Adding Affiliate Code to Your Site

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    At the virtual BlackBerry Technical Seminar 2008, you can ask your development questions directly of Research In Motion® (RIM) experts, and take advantage of learning opportunities designed uniquely for BlackBerry solution developers. Register Today!

    Building a Simple Affiliate System in PHP/MySQL


    (Page 1 of 6 )

    Setting up an affiliate system on your website can be very lucrative. While there are a lot of details involved, it need not be overly complicated. This article walks you through the steps of creating and setting up a basic affiliate system.
    • Intro
    • Building the Database
    • Setting Your Settings
    • Being Common
    • Look And Feel
    • Your Index Page
    • Letting Affiliates Join
    • Letting Affiliates Login
    • Adding Affiliate Code to your Site
    • Managing Affiliates
    • Paying Your Affiliates
    • In Conclusion

    Intro

    Today, we're going to discuss building a simple Affiliate System. Affiliate Systems are useful for people who want to have affiliates on their sites to help boost sales.

    Affiliates sign up and are given a link that they can use to redirect visitors to your site. The script will track clicks from each affiliate and also record any sales that come out of those clicks.

    What am I going to show you? Here's a brief overview.

    We're going to build a simple affiliate system that can be used on sites. You add a script to your site then allows people to sign up as affiliates and sell your products.

    More MySQL Articles
    More By Roger Stringer


       · When I saw the headline, I was quite anxious to read this article. Unfortunately,...
       · We are sorry to hear that you found the article disappointing. I am contacting the...
       · Well, The article is about building a simple affiliate system. Which is what it...
       · Hi. DevShed is all about open source programming. This article explores the...
       · This article was entirely appropriate. I mean if it was about inventory tracking...
       · Hello All, A big thanks to the author for taking time to write this...
       · There was a slight bad there when they inserted the article into the system...
       · Thanks! I'll let ya know how I make out!MrsDelley
       · and what is this:Parse error: parse error, unexpected ';' in...
       · sorry i am blind today, although it is an error.for those who may ask this Q...
       · one more Qurestion i have; What is this: <img src="/affiliates/sale.php">....
       · I keep getting this error message:Warning: mysql_query(): supplied argument is...
       · hi, first of all thanks for sharing this nice script. it seems to do exactly what i...
       · scrap my last comment, i should be logging into manage.php not accesscotrol.php....
       · Its a very nice script.:)Some notes from the comments that could be updated to...
       · I get the same exact error message. Could someone shed some light on the solution...
       · I get alot of these errors:Warning: mysql_query(): supplied argument is not a...
       · Hi There,this script in common.php:list($pending_total) = mysql_fetch_row(...
       · I have gone through each page and created all the files. Needless to say, there is a...
       · You access your MySQL database through a program called PHPMyAdmin. It should be...
       · Hi to the Poster above,I did eventually figure out how to upload the tables as...
     

       

    MYSQL ARTICLES

    - MySQL Table Prefix Changer Tool in PHP
    - Using the SIGNAL Statement for Error Handling
    - Error Handling Examples
    - Error Handling
    - Completing a Search Engine with MySQL and PH...
    - Paginating Result Sets for a Search Engine B...
    - Building a Search Engine with MySQL and PHP 5
    - Using Boolean Operators for Full Text and Bo...
    - PHP, MySQL and the PEAR Database
    - Working with PHP and MySQL
    - Getting PHP to Talk to MySQL
    - Creating an RSS Reader: the Reader
    - MySQL Security Overview
    - Creating the Admin Script for a PHP/MySQL Bl...
    - Creating the Blog Script for a PHP/MySQL Blo...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway