Tonax Posted October 9, 2006 Share Posted October 9, 2006 I'm working on a membership script and my password field is converting uppercase chars into lowercase. Never had this problem occur before...[code]<table width="90%" border="0" cellspacing="1" cellpadding="0"> <tr> <td valign="top"><form enctype="multipart/form-data" name="login" method="post" action="http://www.tonax.net/members/login.php"> <input name="user" type="text" id="user" class="forms" value="username" size="10"></td><td valign="top" align="center"> <input type="checkbox" name="cookies" value="cookies"><label><font size="-2">remember me</font></label> </td> </tr> <tr> <td><input name="pass" type="password" class="forms" size="10"></td> <td align="center"><input type="image" name="Submit" src="http://tonax.net/images/go.gif"></td></tr></table></form>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/23484-password-field-output-is-in-lower-case/ Share on other sites More sharing options...
ToonMariner Posted October 10, 2006 Share Posted October 10, 2006 are you sure????perhasp you have some php code that is doing this. Don't think the browser (without javascript) is capable of changing a string to lower case before its sent to a processing script. Quote Link to comment https://forums.phpfreaks.com/topic/23484-password-field-output-is-in-lower-case/#findComment-106785 Share on other sites More sharing options...
Daniel0 Posted October 10, 2006 Share Posted October 10, 2006 Could you put up an example script where the page defined in the action attribute is just a php script with print_r($_POST) in it? Quote Link to comment https://forums.phpfreaks.com/topic/23484-password-field-output-is-in-lower-case/#findComment-106790 Share on other sites More sharing options...
fenway Posted October 10, 2006 Share Posted October 10, 2006 Yeah, nothing is "converting" all on its own. Quote Link to comment https://forums.phpfreaks.com/topic/23484-password-field-output-is-in-lower-case/#findComment-106910 Share on other sites More sharing options...
Tonax Posted October 11, 2006 Author Share Posted October 11, 2006 Well I fixed it but not sure why this worked. I had the script running before and this problem started one day. I put in $pass=$_POST['pass']; and it worked fine. Quote Link to comment https://forums.phpfreaks.com/topic/23484-password-field-output-is-in-lower-case/#findComment-107299 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.