I am trying to make a PHP page for PostNuke, that I want only to be accessible by certain usergroups that are set up in PNphpBB2 [20]. How do I go about doing this?
[24]Posted: 12.04.2006, 14:54
[25]
rank:
Professional
registered:
July 2003
Status:
offline
last visit:
30.03.07
Posts:
667
Something like...
Code
<?php // Begin PNphpBB2 Module if(!defined [26]("LOADED_AS_MODULE")){ die [27] ("You can't access this file directly..."); } global [28] $pnconfig; $pntable = pnDBGetTables(); $ModName = basename [29](dirname [30](__file__)); // End PNphpBB2 Module