Re: Case sensitive password

From: Date: Thu, 19 Jun 2008 19:33:56 +0000
Subject: Re: Case sensitive password
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-275648@lists.php.net to get a copy of this message
Hi Tedd, It is NOT the user who determines this ONE password, it's the client... he gives it out to selected folks to input.... For example: he says to a few people: use "video" to access this page okay? He would like to make this word case-insensitive so the few people can type in either Video or VIDEO or video..... Now in the below code auth snippet WHERE do I input some code to make this one word case-insensitive UPON INPUT. thanks R.C. <?php session_start(); $_SESSION ['userpass'] = $_POST ['pass']; $_SESSION ['authuser'] = 0; $login = "VIDEO"; if (($_SESSION['userpass'] == $login)) { $_SESSION['authuser'] = 1; "tedd" <tedd.sperling@gmail.com> wrote in message news:p0624080bc4805e03a458@[192.168.1.101]... > At 8:59 AM -0700 6/19/08, R.C. wrote: > >Tedd, > > > >thank you for your input but it's the site client who wants the user to > >input this ONE password either upper or lower case...it's for accessing a > >protected page... nothing major. > > Nothing major until it is. > > As for the client, I always said "Everyone has the right to be wrong". > > Ask the client this -- if two users have "Cat" and "cAt" for their > passwords, what do you think the client's lability would be for > changing them both to be identical when neither user approved?

« previous php.general (#275648) next »