To protect your .php files insert the following code at the very top of your page, before the
<HTML> Tag.
Set the $groups="" variable to "0" to allow all users access. For specific group access
to the page enter group ID numbers, separated by a comma. (ie: $groups="1,2")
For specific username access
to the page enter usrenames separated by a comma. (ie: $username="userA,userB")
NOTE: The path within the quotes to "login_require.php" may need to be altered
to the correct location of the file. Use relative paths (ie: "../php_mlm/login_require.php").
|