Reply to Re: include question

Your name:

Reply:


Posted by Marek Simon on 01/30/06 19:41

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@heelal.nl> wrote in message
> news:43de473c$0$12840$ba620dc5@text.nova.planet.nl...
>
>>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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация