Howdy stranger :-)
>> So myPic.jpg would be saved as myPic.jpg.FP
Man, I always wondered what that FP stood for, lol Forum pic.
> For a Unix box like this, the .htaccess?
Yes, that's exactly it. And I've used it before too but not for a long while. For example, I just had a quick look and found three different methods. I'll have to test to see which works best.
Code:
SetEnvIfNoCase Referer "^http://forum.mtm2.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://forum.mtm2.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(gif|png|jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} .*jpg$|.*gif$|.*png$ [NC]
RewriteCond %{HTTP_REFERER} ^[http|nttp].*$
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !forum\.mtm2\.com [NC]
RewriteRule \.(jpg|gif|png)$ - [F]
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://forum.mtm2.com/.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ - [F]
> Just find a way for your perl UL routine to modify the UL name and your set.
Perl has the best string handling functions of any scripting or programming language. And it allows a ton of other stuff to be done too. One of my biggest concerns is not so much the scripting but that this is a low-ish traffic, zero mod forum, and I'd sure like to keep it that way.
PS. FYI, a few people are using your vales gaming site to hot link images.