![]() |
Quote:
Before nobodys avator showed up so allowed pass on firewall and they all show now. |
I like the array set up of this one over how the other hot link prevention hack functions, but this hack just doesn't work for me, even with no firewall. No matter what, I get the echoed text I added so I could see what was going on.
PHP Code:
|
You moved this line up a few lines from the original code, that is probably why you can get it to work.
Code:
for ($x=0; $x < count($referers); $x++){ |
I can't get this hack to work over multiple domains. I tested it using one and it worked for me, so I now know it's working, but when I add a second domain like this:
PHP Code:
Can somebody help me on how to get this to work with multiple domains? I have about 5 I need to add to this hack. Please help. |
CJi,
Thank you for this hack. It worked perfect firt time! Thanks! |
Very much help indeed, THANK YOU CJi!! :knockedout:
|
I am having some problems.
I am using vb 2.3, I cannot get link protection for either avatar or attachment. The avatars appear in my forum as typical "miising image" icons, I have worked with many perl/php scripts and well aware on entering referers for protection, I however, cannot get this too work. As far as attachments, when someone clicks, from the forum, an attachment link, he goes into a blank page. I have tried my domain, my IP...you name it. I do have a router. Any suggestions please? Regards, LC |
To be honest, for ultimate protection it's best to use htaccess. What you need to bear in mind is users can choose to withold, or even warp referrers, so hacks like this will never work. It's annoying, but 'one of those things'
|
There is a very simple way, you can do it with .htaccess, even diplay an image of your choice on a website that is linking your image.
Can protect whole domain or just 1 folder. Anyways, nicely done :) |
Quote:
|
All times are GMT. The time now is 05:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|