Re: Detect where someone comes from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently I have
an ini file that has the list of banner websites
I can make it count
problem is:
$_SERVER['REFERER'] will give me the full link
http://www.domain.com/dir/location/file.php
where I just want the
http://www.domain.com/
Ben

On Mar 6, 2006, at 11:39 AM, Benjamin Adams wrote:

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@xxxxxxxxxx> <jblanchard@xxxxxxxxxx> 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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux