Solved

How to make an affiliate script with 10 levels

Posted on 2004-09-07
2
206 Views
Last Modified: 2008-01-09
I need to make an affiliate script.  Can someone show me the code that I would use to do this.  I have some scripts with examples, but they stink.  

I want to have 10 levels and  pecentages of commission.

Such as 30, 10, 10, 10, 5, 5, 5,5,5, 1

I am totally lost.

Thanks ahead of time,

Chad
0
Comment
Question by:hewtluca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
kaitou earned 250 total points
ID: 12001356
I imagine the main thing would be to have a database of all affiliate id's, and their commision level.,  and a separate table that lists percent per level. Then once they are sent to your site with an affiliate id, you would need to set a cookie withthe id of their refferer, and later read the cookie when the purchase is made. Then during the purchase, you can either keep a table of purchases coupled with refferer id's, and at the end of the month count up what each affiliate has made.

This would be a moderately straightforward script, but I imagine it would take some time to write. Those are the basic steps it would need to follow though.
0
 
LVL 2

Author Comment

by:hewtluca
ID: 12206598
I did not get what I wanted, but thanks for being the only one who tried Kaitou.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question