Page 1 of 1

Creating an affilliate link

Posted: Wed Mar 01, 2006 5:44 pm
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]

Posted: Wed Mar 01, 2006 6:24 pm
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.

Posted: Wed Mar 01, 2006 6:49 pm
by alpalino
I can implement a database, but I don't have it at the moment.

Thanks

Posted: Wed Mar 01, 2006 6:57 pm
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.