5
I am trying to setup your dummy module to protect this custom PHP script when executed so that it can only be run by logged in members. Here is what we are running:
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
include(XOOPS_ROOT_PATH."/modules/MemberInfo/memberlist.php");
We have a custom script designed to query read only info from our additional membership database and present it when queried as follows:
<
http://www.mydomain.com>/modules/MemberInfo/Memberlist/memberlist.php?region=MD
The query works fine, but how do I lock it down with permissions so that only logged in members can do this query and not guests if they have the url query? At this time its setup but guests can get to the queries too now. We do not want this.
Thanks,
Mike Moore