3 phpGACL - PHP Generic Access Control List.
7 Mike Benoit <ipso@snappymail.ca>
11 See here: http://sourceforge.net/mail/?group_id=57103
15 Please refer to the docs/MANUAL or the "Manual" / API Guide link at http://phpgacl.sourceforge.net/
17 Consult the example.php file in this directory.
24 Then run setup.php. It will most likely NOT work, as ADODB's XML Schema still needs some work.
26 Upgrading from ANY version to v3.3.x WILL NOT WORK YET! The schema format has changed way
29 Unless your running PostgreSQL, then upgrading from 3.1.x or older to 3.2.x or newer will require
30 a complete dump (including column names), dropping the database, running setup.php, then
35 require_once("gacl.class.php");
37 $gacl_options = array(
39 'db_host' => 'localhost',
45 $gacl = new gacl($gacl_options);
47 if ( $gacl->acl_check( <ACO Section VALUE>, <Access Control Object VALUE> , <ARO Section VALUE>, <Access Request Object VALUE> ) ) {
48 echo "Access Granted!";
50 echo "Access Denied!";
55 See here: http://phpgacl.sourceforge.net/
58 Copyright (c) 2004 Mike Benoit, All rights reserved.
59 This software is released under the GNU Lesser General Public License.
60 Please read the disclaimer at the top of the gacl.inc.php file.