PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Are sessions in PHP directory specific? I am trying to set it up so that if someone tries to go my sites images sub directory they will be redirected to the main page of the site unless they are logged in and have a certain user level...I am logged in with that user level and I still keep getting redirected...I tried using some echo's to find out the session info but it appears that there is none, though when I go back to the main page of the site it says Welcome Back Elmseeker and shows my session info...here is the code of the page in the images directory:
I am SUCH AN IDIOT SOMETIMES! Why is it always the easy little majorly glaring errors I miss? the hard to spot where they are bugs...NO PROBLEM, find 'em in short order usually...but not the easy ones...NNNNOOOOO those have to torture me for days at a time!