PDA

View Full Version : page.php?refer=ID



GlennKnows
April 28th, 2002, 21:59
I am just wondering how you can set up on your site so you can give say... ormation.com a link to your website, but you want to track click throughs. You decide to use

yoursite.com/index.php?refer=ormation

How do you do this?

wm2k1
April 28th, 2002, 23:30
simple!

you need a database ... or flat file
and each time somebody use a refer link, increment the count for that user

but why wasting ur time with it?
the server stores raw log files and part of it contain information on where the user was refferred from
...if u have paid hosting, they would most likely give it to u

GlennKnows
April 29th, 2002, 00:15
I don't have a paid host though...

Getting a database is okay, I have access to cgi, mySQL and it can run PHP

Plus I was going to do other things for it aswell... do you know what I could search for in google.com to find it though?

Thanks

GameSource
April 29th, 2002, 01:14
I would check on hotscripts for a script like that also.

GlennKnows
April 29th, 2002, 01:29
Originally posted by GameSource
I would check on hotscripts for a script like that also.

Well what's the address and what keywords do I use to search?

GregT
April 29th, 2002, 01:37
http://www.hotscripts.com and clik the php section :)

leetcrew
April 30th, 2002, 22:07
ms-dos editor is better

GlennKnows
May 2nd, 2002, 02:05
Thankyou so much everyone, I was in hotscripts for over an hour downloading different bits and pieces:confused2 ... but I found what I wanted :D

So just thanks again:cool2: