how get domain name?
Posted: Mon Oct 23, 2006 8:10 am
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:
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
Code: Select all
<img src="http://mysite.com/image.php" />