Re: Case sensitive password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've tried some of the methods mentioned in earlier posts, but I don't
understand this correctly.  Here is the code I have to validate a hard
corded password to access a page, which is in upper case....

WHERE do I input the code to make sure that whatever case a user inputs this
word, it will still validate?

Thank you for your patience.  I'm learning....
Best
R.C.


<?php
session_start();

 $_SESSION ['userpass'] = $_POST ['pass'];
 $_SESSION ['authuser'] = 0;

$login = "VIDEOS";
if (($_SESSION['userpass'] == $login)) {
$_SESSION['authuser'] = 1;
?>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux