I have a utility.php file, but I would like to build it become a library, or something else, just don’t want people can’t access the utility.php directly, but they can access it via other page, for example, a register.php, can use the utility.php, how can I do so? Thank you.
Share
Something like this:
and then like this:
You have many other options to protect
utility.phpcount(get_included_files())==1.. etc