Forum Moderators: coopster

Message Too Old, No Replies

how can i make a non case-sensitive password

using PHP & apache

         

slygrrl22

9:37 pm on Jun 27, 2004 (gmt 0)

10+ Year Member



Ive been told I can use PHP to make my .htpasswd file not case sensitive. Does anyone know how or point me to a tutorial maybe?

coopster

1:57 am on Jun 28, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Well, .htaccess in and of itself is going to be case-sensitive. What you have been referred [webmasterworld.com] to is that PHP or other scripting languages will allow you to control how the passwords are written and read from the file (all upper, all lower, or a patternized combination) via PHP functions, such as strtoupper [php.net], strtolower [php.net], etc.

There are options for managing your .htaccess files, including
PEAR File_HtAccess [pear.php.net] and a quick search at sourceforge.net for "htaccess" will turn up quite a few possiblities. As far as a tutorial or something...? Hopefully somebody else can chime in...

slygrrl22

3:21 am on Jun 28, 2004 (gmt 0)

10+ Year Member



ok ill look into that stuff. thanks much ;]