Forum Moderators: phranque

Message Too Old, No Replies

Blocking web site from hotlinking PHP script

         

wings

9:48 am on Jun 24, 2006 (gmt 0)

10+ Year Member



Hi,

I have a PHP script that rotates little images on my web site. It turns out that some other web site is using this script by simply using the direct link to this script (http://www.mysite.com/images/images.php and stealing not only my images (for which I have copyright), but also my bandwidth.

I have tried adding the following to .htaccess:

<Limit GET>
order allow,deny
allow from all
deny from subdomain.domain.com
</Limit>

but without success, the images still show up on his website.

Can someone please helpe me, I tried several things but without success.

wings

11:01 am on Jun 24, 2006 (gmt 0)

10+ Year Member



It's ok, I already solved it with a RewriteRule

jdMorgan

2:20 pm on Jun 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Glad you got it working!

Jim