Hello All!
I am currently working on a fairly simple site that includes a login function. All the users have been created using Safari, and have been working just fine. But I have recently attempted to login to my account via Chrome, and was redirected to my “Login Denied” page. I made quite sure I did not type it incorrectly, and even copied the password from phpMyAdmin and pasted it into the form field; I was still redirected.
I then made a new user in Chrome, and looked to see what the database had received as that user’s information. The new user’s username was “blah” and password was “blah.” When I checked it in the database, i found that the username was as i had inputted it, but the password was “blPr.”
I have retested this to ensure this was not a typo.
Does anyone have any idea why Chrome is editing what the user is inputting and transferring via $_POST?
My code is below.
The form at index.php:
<h2>Sign up</h2><br />
<form action="signup.php" method="post">
<p>Username: </p><input type="text" name="username" /><br /><br />
<p>Password: </p><input type="password" name="password" /><br /><br />
<input type="submit" value="Enter" />
</form>
The page handling the login, two.php:
[php]
[/php]
Thank you in advance for your help!
-sphawes