hi, i have one silly question how get domain name of site were is plased my sites banner. Banner is generated by php and users includes its like this:
Code: Select all
<img src="http://mysite.com/image.php" />
in image.php i whant to log how many visits has sites with my banner, i tried to use $_SERVER['HTTP_REFERER'] but with no luck