Re: include question



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 .



Relevant Pages

  • Re: ntoskrnl.exe
    ... Jon ... > I got a message on my virus scanner AVG saying this file(ntoskrnl.exe got ... > bigger 1.95M to 1.99M) Is this something to worry about? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: [OT] Ping Legal Beagles
    ... Jon B wrote: ... > I think they are great, but tad too small, and want a bigger CC. ... > The MX-5 made it to the list but don't feel good about a convertable ...
    (uk.comp.sys.mac)
  • Re: Artists who "put opera on the map"
    ... Jon E. Szostak, Sr. ... That paperback was impossible for these eyes even 40 ... so I invested in the bigger ...
    (rec.music.opera)
  • Re: The Crisis in AFL
    ... The story was about Jon and Kate and the story featured the Octomom ... commenting on their situation and my head exploded. ...
    (alt.fan.letterman)
  • Re: Apple Store down...
    ... Jon B wrote: ... >>> I'm showing the US store as down. ... Might be bigger than socks then! ...
    (uk.comp.sys.mac)