Thanx! This is an excellent solution!
Merlin
"Daniel Kushner" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi Merlin,
>
> What you are describing is named Hot Linking. A quick search on Google
gave me this:
> http://www.htmlbasix.com/disablehotlinking.shtml
>
>
> Regards,
Hi,
> $_SERVER[HTTP_REFERRER] does not help.
Not sure if you've got it that way in your code, but that might be because
it's spelt "HTTP_REFERER" - yes, it's wrong, you're right, but you have to
live with it :-)
I think you may also need to quote it like this, but I'm not sure:
$_SERVER['HTT
on 2/27/03 10:18 AM, merlin at [EMAIL PROTECTED] wrote:
> I recently discovered the reason why the traffic is rising so high on my
> server. Some people are "stealing" bandwidth. They include
> the link of an image into a forum posting. Now everytime somebody reads this
> threat on the other site
> What about using a MySQL database? Insert the picture into a field in
> a table, then use a php script to call the data. I've been working on
> something like this. Is it practical, or am I barking up the wrong
> tree?
Too much overhead, in my opinion. Same result if you just stored the
files
Hi Merlin,
What you are describing is named Hot Linking. A quick search on Google gave me this:
http://www.htmlbasix.com/disablehotlinking.shtml
Regards,
Daniel Kushner
Need PHP Training? http://www.nyphp.org/training.php
> -Original Me
Sent: Thursday, February 27, 2003 12:20 PM
To: 'merlin'; [EMAIL PROTECTED]
Subject: RE: [PHP] Preventing the "hijacking" of pictures
> I recently discovered the reason why the traffic is rising so high on
my
> server. Some people are "stealing" bandwidth. T
> I recently discovered the reason why the traffic is rising so high on
my
> server. Some people are "stealing" bandwidth. They include
> the link of an image into a forum posting. Now everytime somebody
reads
> this
> threat on the other site this image is
> served by my server!! No one cares abou
7 matches
Mail list logo