On my admin pages I have this:
This just has some code to verify that the user is logged in and to redirect them if not.
I want to have some other functions on the page as well so let' say the above code changes to:
If otherFunctions.php contains ONLY php functions, do I need to also add the isLoggedIn() function to otherFunctions.php?
I just ask because if you type in the path to the otherFunctions.php in the url, it displays the page. It doesn't show anything but the page can be accessed. I just wanted to know if that is a major security problem or not?