PHP Page Protection LogiC Simplified

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


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/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux