Re: [PHP] Preventing the "hijacking" of pictures

2003-02-28 Thread merlin
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,

RE: [PHP] Preventing the "hijacking" of pictures

2003-02-28 Thread Jon Haworth
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

Re: [PHP] Preventing the "hijacking" of pictures

2003-02-28 Thread MIKE YRABEDRA
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

RE: [PHP] Preventing the "hijacking" of pictures

2003-02-27 Thread John W. Holmes
> 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

RE: [PHP] Preventing the "hijacking" of pictures

2003-02-27 Thread Daniel Kushner
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

RE: [PHP] Preventing the "hijacking" of pictures

2003-02-27 Thread Sysadmin
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

RE: [PHP] Preventing the "hijacking" of pictures

2003-02-27 Thread John W. Holmes
> 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