require problem
Posted: Sat Aug 09, 2003 10:44 am
Hello,
I have a script that checks a user is logged in, i require this at the top of every member page I have, this works fine. If user is not logged in then the script exits, if the file does'nt exist then the script exits, but if their is a error in the scripting it displays an error and continues executing rest of the page.
This should'nt be a problem normally but I just wanted to know how I could secure this in the off chance it does happen.
I have a script that checks a user is logged in, i require this at the top of every member page I have, this works fine. If user is not logged in then the script exits, if the file does'nt exist then the script exits, but if their is a error in the scripting it displays an error and continues executing rest of the page.
This should'nt be a problem normally but I just wanted to know how I could secure this in the off chance it does happen.