Re: Password Protection

From: Date: Thu, 17 Feb 2005 04:45:08 +0000
Subject: Re: Password Protection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-208881@lists.php.net to get a copy of this message
On Wed, 2005-02-16 at 21:31, Kevin Javia wrote: > I am experimenting on my site and I want to make it password protected like > www.realsolution.com. > > If any one enters correct user name and password, only then they will be > able to enter into my site. > > How can I do that in PHP? > > Any ideas? Thanks a ton in advance. Chances are this is not a php thing at all but uses the webserver's authentication infrastructure. It depends on the server being used. The apache manual has a very good write up on authentication options available: See if this gets you started: http://httpd.apache.org/docs-2.0/howto/auth.html Bret

« previous php.general (#208881) next »