I am currently writing a system that will log in a user with a username and password and then upon validation will give them a session variable entitled CCFPLevel. On each page the Level needs to be checked to see if the user has the proper authorization. I was going to write an include file. In the file I would grab the filename that was calling up the include file and test that against a list I supply and against the CCFPLevel session variable. How would I grab just the filename of the file that the user is on and not the include file that this code will be in?
Dave Highfield
dave.highfield@cmsis.com
I couldn't think of a sig so here it is.
Dave Highfield
dave.highfield@cmsis.com
I couldn't think of a sig so here it is.