niv
January 22nd, 2002, 12:48
if (($---------~/wired.homeunix.org/) || ($referrer=~/www.stuy.edu/)){
...
}
If I were to load up an image through my pages on wired.homeunix.org, there would be no error because $ENV{'HTTP_REFERER'} would have wired.homeunix.org in it...but when I try loading up a page from my school's page [www.stuy.edu] that happened to have some images on wired.homeunix.org, I get the hotlinking error that I placed myself that probits traffic from sites that are not wired.homeunix.org or www.stuy.edu. Any ideas why? :confused: Same goes for my banner.pl script.
Examples:
[hotlink not detected]
http://wired.homeunix.org/ [watch the banner load and the menu images]
[hotlink detected]
http://wired.homeunix.org/banner.pl
http://wired.homeunix.org/img.pl?menu/home_on.gif
...
}
If I were to load up an image through my pages on wired.homeunix.org, there would be no error because $ENV{'HTTP_REFERER'} would have wired.homeunix.org in it...but when I try loading up a page from my school's page [www.stuy.edu] that happened to have some images on wired.homeunix.org, I get the hotlinking error that I placed myself that probits traffic from sites that are not wired.homeunix.org or www.stuy.edu. Any ideas why? :confused: Same goes for my banner.pl script.
Examples:
[hotlink not detected]
http://wired.homeunix.org/ [watch the banner load and the menu images]
[hotlink detected]
http://wired.homeunix.org/banner.pl
http://wired.homeunix.org/img.pl?menu/home_on.gif