May 27, 200521 yr Hi ,Can anyone tell me if there is a function that returns the domain name of the referer?
May 28, 200521 yr thats should work for PHP. make it so it logs into a .txt file and it should tell you the domain in which the referer was from
May 29, 200521 yr Author Of course, it does. I am making a web page with PHP and got problem with this.
May 30, 200521 yr do any of the other $_SERVER variables work? also if you dont have a referer then it will show up with nothing
May 31, 200521 yr Author I figured it out. The web server get nothing for the $HTTP_REFERER if the referfer is my local server. When I use another website as the referer, it works fine. Thank you for your replies .
Create an account or sign in to comment