[PHP] reffered from environmental variable?

2001-04-24 Thread Tom Beidler
I'm putting together a shopping cart that will be hit from two different web sites and I would like to track where the order came from by setting a cookie. Is there an environmental variable that I could pull instead of giving each web site a different url to point to the shopping cart? I've

Re: [PHP] reffered from environmental variable?

2001-04-24 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Tom Beidler) wrote: $parasite = getenv (REMOTE_HOST); setcookie(reffrom,$parasite,time()+86400,/,.flylikeaneagle.com); } That seems to set the browsers ip address not the ip address of the server that's hosting one of the two sites