On 2/14/2006 at 1:05 PM 'Computer Collector Newsletter' wrote:
>> have
it give different images if the Referrer for the request is his
site.
How do I do that?
It would be good to learn a little Javascript. The "document.referrer"
property will tell you where your page was linked from. With that
information, you can do a little more JS hocus-pocus and do whatever to you
want to folks who have been referred from the guy's site.
In point of fact, JS is useful for making things hard for others to copy.
Since it's all out in the open, anyone can unravel your JS and get what
they want, but it can be a bunch of trouble and that's usually enough of a
deterrent.
You could also do the same thing with a Java applet or a server-side
script.
Cheers,
Chuck