Web Hosting Talk







View Full Version : Link-id with PHP


Suedish
02-17-2004, 04:44 AM
Hello,

I've recently started with PHP and now im thinking of promoting my site to some of my friends via email, however i would like to have some kind of link-id and then to be able to see how many came to my site by clicking on the link in the email.

Is there any good guide/site/page our there that handles this thing? Or does anyone have an example to show me?

Thanks alot in advance.
Regards, Suedish

Yo-chan
02-17-2004, 04:57 AM
Look in http://www.hotscripts.com/

Or, just set the url to http://www.domain.com/i.php?ref=44

Then, $_GET["ref"] would have the number above.
You either write\save this number in text or database.

Suedish
02-17-2004, 05:14 AM
Thanks, that's really what i needed to know.
Now i just need to get off work to go home and try it ;)

Thanks again.