Hi there, Using fusebox framework (http://www.fusebox.org), u can do that very simple... That's what i suggest... Regards, Inung. --- Bimal Pouldel <bimal_kcmit@xxxxxxxxx> wrote: > > Hello there, > > If you have been always in trouble of creating > protected pages, > and have done on there, here is my suggestion: > > Always put the protection/login determining page > into the > database variable configuration script. Since all of > your pages > may refer to this config file (of course in .php), > your pages > will be protected, because you have the logic there > in > immediately after the datbase connection. > > This prevents putting protection logic to indidual > files, which > may be riskier if you forget to place any protection > code there. > > Bimal > NEPAL > > Bimal Poudel > (Information Management) > Kathmandu, Nepal > > http://fakenepal.tripod.com > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Easier than ever with enhanced search. > Learn more. > http://info.mail.yahoo.com/mail_250 > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/