Creating an affilliate link

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alpalino
Forum Newbie
Posts: 3
Joined: Wed Mar 01, 2006 5:27 pm

Creating an affilliate link

Post by alpalino »

Hi



I would like to create an affiliate link for my website. This link will be displayed on various websites. So I need to count unique visitors, who visits my website by using this link. What I want to findout is How can I create a script that gives me the information about the visitor ( What website they came from, and count unique clicks on that link.)

I hope it is not too confusing.

Thanks


http://www.putyourlogoontheweb.com

[/url]
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

Do you have a database?

If you do it will be easier for you, and me! It will also be much nicer to view.

EDIT: You need to make sure the sites you have your images on support PHP also.
alpalino
Forum Newbie
Posts: 3
Joined: Wed Mar 01, 2006 5:27 pm

Post by alpalino »

I can implement a database, but I don't have it at the moment.

Thanks
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

Ok. Until then you can fwrite() the information to a .txt file or a HTML file in a table. But, it will be hard to get information from a server if they do not support PHP, or any server side scripting.
Post Reply