You are here: Re: authorization for dummies « PHP Programming Language « IT news, forums, messages
Re: authorization for dummies

Posted by Good Man on 08/30/07 15:35

salmobytes <Sandy.Pittendrigh@gmail.com> wrote in
news:1188486532.054627.173040@q5g2000prf.googlegroups.com:


> If that isn't available, then my installation for dummies goal
> has hit a brick wall. What third-tier authorization tricks could
> my system try to fall back on, if and only if mysql and .htaccess
> has already failed (for the unsophisticated installer).

you could put a text file with usernames/passwords in a directory above the
www directory, and use PHP to check for that when the person logs in.

if they log in successfully, set a $_SESSION so that you never have to
check it again unless they log out.... and all your subsquent pages should
search to see that your particular $_SESSION is there/valid....

 

Navigation:

[Reply to this 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

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