A couple ways are :
1. Setup an affiliate link for them to use :
http://www.you.com/foo.php?affiliate=them
They'd stick that link on their site. Variable $affiliate will tell you
the hit came from their (them) site. You log this information and analyze
and fight over the validity of it with them. No doubt they'll also track
outgoing hits so they may do something like :
go.php?url=http://www.you.com/foo.php?affiliate=them
But I digress.
2. Use HTTP_REFERER and watch your server logs. See above.
3. Use a third party such as linkshare or befree or something similar to
track such information for you. Although don't think you're at this point
yet :-)
The variable your subject is requesting is : HTTP_REFERER. Search google
for this variable and much information will come about. It'll *usually*
give you the exact referring url.
Regards,
Philip Olson
http://www.cornado.com/
On Wed, 7 Mar 2001, Jacky@lilst wrote:
> Hi people I have exchange link business program with other sites,
> basically I give a hyper link to come to our store to them and when
> user click on the link on their site to come to us, they will genrate
> income from it too. The question is that how do I know that when a
> user click on the link to come to my site that a user come from the
> link from their site , or from their IP or something. So that I can
> tell where a user come from. Is this something to do with http
> header? Jack [EMAIL PROTECTED] "There is nothing more
> rewarding than reaching the goal you set for yourself"
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]