Web Hosting Talk







View Full Version : cookies and click through search engines


tuvok
05-29-2002, 05:46 AM
Hi Guys/gal

I am a bit worried about the traffic from www.7search.com, does anyone have any experirnce with them

My main question is, if i used a link with a querystring from them to me, i could easily adopt my site ( php ) to carry this on when the user signs up so i know where they came from, however we all know that people dont always signup the very same day, so the ideal thing would be to also drop a cookie on their pc, so when the come to my signup page, it can also check for this cookie and read the ref id from it, is there an easy way to do this, i am not very familiar with cookies , i will be researching this, but any help from anyone with php/cookie knowledge ( sounds like i am asking for a chef/baker LOL )

But seriously , any insight on how to achieve this would be most welcome


cheers

;)

webx
05-30-2002, 04:23 PM
Try some code snippets in www.zend.com and read the interactive manual on www.php.net : http://www.php.net/manual/en/function.setcookie.php

Cookies are not very complex to play with, just spend a few minutes or hours depending on your experience and you'll be all set :)