Jump to content

Archived

This topic is now archived and is closed to further replies.

Tonax

Password field output is in lower case

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Yeah, nothing is "converting" all on its own.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.