Stop Hotlinking

rpainter

24.***.***.***
1,881 days ago

Stop Hotlinking

Hello everyone. I am a complete newbie when it comes to PHP. I have a members only section of my site that has videos. Right now, if you click on the members only videos from the site, it tells you that you don't have access. But, if you put the direct URL in the browser, it will let you see it. I have tried the Hotlink Protection in Cpanel, but then I can not view the video at all...even from the site. I did make sure that the site address was in the "Allow" list. I found this code on the site:

PHP code:

<?php echo $_SERVER['HTTP_REFERER']; ?>

I put that on my page. The referer was my site. I put the exact page that the code gave me (http://www.monkeyboysbbq.com/index.php?categoryid=21) in the allow list. Still didn't work. Any ideas on what I am doing wrong??? Thanks for your help.

penguinmama

12.***.***.***
1,879 days ago
What is the link that you are clicking on to get to the members only part? Maybe it's something encoded in the link that's causing the access refusal?