Hi
I having problems understand permission files. I actually took apart some cms platform that has a permission file. The issue is that how to write a simple permission file?
So far base on the CMS, I took apart.
This is always appears:
if (!$_SESSION[""]) {
die('You do not have access to this page!');
}
I notices that a table is create for the admin login.
$id = $_GET["userID"];
$userID = $id
Plus I notice that there's a
DEBUG CODE
What is a DEBUG CODE?
The files from those platform are very complicated for me to grasp. Is there a simple way to write a simple one. I just want to learn and see how it works.
I appreciate any suggestions or any links of examples that I can read and try to understand. Thanks!