View Single Post
Old 2006-01-16, 01:56 PM   #24
Southfun
If something goes wrong at the plant, blame the guy who can't speak English
 
Join Date: May 2004
Location: Denmark
Posts: 31
Send a message via ICQ to Southfun
Quote:
Originally Posted by Cleo
When Fusker sends referral then my htaccess blocks it no problem but often referral info from Fusker is blocked and then my images or mpegs are served up since I have no referral allowed in my htaccess.
Then you can't use the HTTP_REFERER to validate if you are being hotlinked or not. You got 2 options :
1 ) use cookies ( js or other server side script )
2 ) get a hotlink protection script

If it is not for galleries, you can rename the files through some php cron job.
Southfun is offline   Reply With Quote