rotating images with a php script
Posted by: slamsworld
Posted on: 2008-06-15 09:48:00
hey all
I am hoping that someone may have had this issue before. I have done a lot of searching on this but have not found a solution to the problem so far.
I have a site here on dreamhost that I have a php script running that rotates images on the main page but my stats indicate that there is several folks hotlinking directly to the script. I have tried to modify the .htaccess file with no luck so far
the htaccess file now contains the following
Options -Indexes
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?thedailybikinni\.ca/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|png|php)$ - [F]
the website is www.thedailybikinni.ca
thanks in advance