Re: Detect where someone comes from
| From: | Benjamin Adams | Date: | Mon, 06 Mar 2006 16:39:41 +0000 |
| Subject: | Re: Detect where someone comes from | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231524@lists.php.net to get a copy of this message | ||
I have banners on other websites.
I'm trying to detect who is clicking on what banners.
I can have the company that has the banners throw a ?bannercompany='companyname'
and do a query on that but I would like to do it just by auto detecting
Ben
On Mar 6, 2006, at 11:21 AM, <jblanchard@pocket.com> <jblanchard@pocket.com> wrote:
[snip] I was wondering if there was a way I can see where people are linking to me from. Can I find this in php? [/snip] HTTP_REFERRER is good to see where people are coming from, if it is set. Are you wanting to see if people have links to your site? If so, you're going to need a spider.