Re: Newbie Authentification help!!!

From: Date: Mon, 20 Nov 2000 23:31:55 +0000
Subject: Re: Newbie Authentification help!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26354@lists.php.net to get a copy of this message
Have you seen these ? : http://www.zend.com/zend/tut/authentication.php http://www.zend.com/zend/tut/feedback.php http://devshed.com/Server_Side/PHP/Cookies/ Perhaps they will be of interest. There are others around that you'll find, check phpbuilder, weberdev, thickbook as well. Philip -- be outside the box. On Mon, 20 Nov 2000, Tom Beidler wrote: > I'm trying to setup a secure area that uses user id/password login form and > MySQL database. I would also like to use cookies to set and store as > authentification variables so when I have other pages I can check for the > variable and redirect them to the login form if it is unset. > > Here's what I have so far. I've created a form that asks for a user id and > password and passes the values onto a main page/index page for the site that > validates the values. The SQL query is in the body of the html document. > Everything works fine on getting to that one page. > > Unfortunately I need to have this authentification apply to several pages. > How do I set the cookie and when? I've tried several possibilities but > everyone runs up against a stumbling block. I can't set the cookie when the > query is in the body. > > I know this is probably insufficient info but any help would be appreciated. > Especially if you could point me to a tutorial. > > Thanks, > Tom > > >>.>>.>>>.>>>>>.>>>>>>>>> > Tom Beidler > Orbit Tech Services > 805.455.7119 (cell) > 805.682.8972 (phone) > 805.682.5833 (fax) > tbeidler@mindspring.com > >>.>>.>>>.>>>>>.>>>>>>>>> > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#26354) next »