Re: valid user

From: Date: Sun, 02 Jul 2000 14:36:45 +0000
Subject: Re: valid user
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4360@lists.php.net to get a copy of this message
Include your php_auth_user/login routine at the top of each page in that directory, either by manually include()'ing it, or by apache or php.ini directive I'm not understanding your question fully, because you say you want to do it without .htaccess, but then you ask for code samples that use .htaccess jason "Bartosz Aninowski" <bart@sonik.pl> wrote in message news:8jniga$cfe$1@toye.php.net... > I've got index.htmls where user put his username na password. > Next the pass.htmls is loaded and code check if password and user exist in > database (mysql) and match. > If everything is ok next part of code loads administrator options . > From this page user can load next page fe list.htmls > But when somebody write in borwser http://domain.com/list.htmls > he can easly > access the page. > Is possible to forbid that without using .htpasswd, htaccess (popup window) > or cookie? > I want user to go thru index.htmls and pass.htms everytime! > > Good solutions is sample of code witch check if username nad password exist > and match in .htpasswd. > > Bart

« previous php.general (#4360) next »