Need Some PHP Help

Status
Not open for further replies.

Dave

Banned
Jun 24, 2006
811
6
0
34
Australia
Hi, I am workin on a referral thing for my cms and I need some help.

the refferal url is going to be sitename.com/1

where 1 is the refferal id

i am then going to assign this to a hidden form field, which will then, if the form field is not null, add certain values to the database.

What i want to know is how do i make it so say the user came back 10 days later, and i wanted it so the refferer still gets credit for that refferal.

Thanks in advance.
 


Would a cookie be what you're looking for? Seems like that's one of the main purposes of a cookie
 
Payton said:
Would a cookie be what you're looking for? Seems like that's one of the main purposes of a cookie

I was thinking it was that, but i need help on how to do wat i want with cookies :p
 
Status
Not open for further replies.