Hi guys, so i'm green to php and I need very simple refferal system for my new website
1. User comes to my web and gets a ref. link such as ex. domain.com/ref?=ID (number)
2. Everytime somone clicks that link he gets +1 on my webiste
I guess this needs a cookie tracking or something..
So i guess its very simple for u guys, but it's science for me and I dont really have time to learn php now, so could someone
write or help me with this script?
Refferal system script [Need help]
Post a Reply
|Oldest Newest Rating|
· February 8, 2015
No cookies what so ever.. You just need a database and some php knowledge.
For example the link that is sent to friend's email is http://www.domain.com/register.php?ref=12345&refid=bob123
ref as a refferal code and refid as the refferal's username.
· February 9, 2015
Yeah sorry if its an old deprecated code. Not really used to use new syntaxes, do change the mysql_query to mysqli.