Re: include question
- From: Marek Simon <simon@xxxxxxx>
- Date: Mon, 30 Jan 2006 18:41:39 +0100
Jon wrote:
Yeah, unless I want to completely kill off the check all together (I could leave it by commenting, but would prefer to have no code left if I were to decide to remove it). The bigger issue is adding it to each file.
"Jonathan" <jonathan@xxxxxxxxx> wrote in message news:43de473c$0$12840$ba620dc5@xxxxxxxxxxxxxxxxxxxxxx
Jon wrote:
All,
Now, I've done this many times before, however I'm getting kind of sick of putting the include file to check the session variable on EVERY page within a directory. This is especially irritating if I for whatever reason want to unsecure a directory, or change the structure of the login system - it forces me to go into each file of the admin area and remove the call to the file.
Wouldn'y it be easier to comment out the neccesarry lines in the include file, this way you don't need to open every file and change it?
Jonathan
so just write include("includes.php") and from it include the other stuff. Marek .
- References:
- include question
- From: Jon
- Re: include question
- From: Jonathan
- Re: include question
- From: Jon
- include question
- Prev by Date: Re: unsigned int
- Next by Date: Re: unsigned int
- Previous by thread: Re: include question
- Next by thread: Re: include question
- Index(es):
Relevant Pages
|