My site uses PHP url's such as http://www.jrsleaselocators.com/browse.php?fatherID=47 Can amember protect different father ID's? Example: I do NOT want to protect the http://www.jrsleaselocators.com/browse.php?fatherID=47 I DO want to protect the url http://www.jrsleaselocators.com/browse.php?fatherID=39 Is this possible with amember? Thanks, Dustin
It is of course possible. You can check fatherID at start and include PHP-include protection code only if needed. http://manual.amember.com/PHP_Include
Hi there, Any chance of giving an example of how to do this? I can't see how you'd go about it from the manual. My needs are exactly the same as Dustin's (above). cheers Jim
I think Alex is saying to check to see if the page to be displayed is a protected page. If so, then echo out the protect include file. ex. PHP: //protect these fatherIDs $protect = array("12","17","23","39"); if (in_array($_REQUEST['fatherID'],$protect)) { echo "path/to/php/include/protect.php"; //replace this with the actual path to your PHP protect script. }