Hot Linking Watermark (2)

1 Name: narunet 2005-05-22 06:28 ID:OnsJ/8bH

I was wondering if there is a way in php or perl to get an image to be watermarked using text or an image if it's being hot linked. I saw that G4tv.com does it on it's images and I was wondering how in the fuck they did it.

2 Name: CyB3r h4xX0r g33k 2005-05-22 07:17 ID:Heaven

.htaccess

# Uncommment the next three lines if you want to prevent others from direct
# linking your images. Make sure to enter your site's url, or your own
# site won't be able to access them either!
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://your.site.here/.*$ [NC]
#RewriteRule ^.*\.(gif|jpg|png)$ img/bad.gif [L]

This thread has been closed. You cannot post in this thread any longer.