Hi, I have followed the directions to set up php_include protection and when I click on a file in a protected directory I get the following message: Product ID is not defined in called script! Died. I looked in the file amember/plugins/protect/php_include/check.inc.php and it seems that the variable $_product_id (which is passed from the file protect.inc.php in the protected directory) is not being passed properly or not being recognized as a valid array. Does anyone have any ideas why this isn't working? Thanks a lot for your help, Rita
Rita, do you include "check.inc.php" from function? The you have to declare product_id as global. If not, please paste part of your code here.