Hi Guys,
I'm making a script to update a users email address however when the page loads, it automatically puts the users username (in the email field) and password (in the password field 😛).
I would turn off the feature in my firefox but i'm guessing other people would have the same problem.
Here's the code for the form, although probably not necessary.
<?php
echo "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><form action=\"".$_SERVER['PHP_SELF']."?go=email\" method=\"POST\">";
echo "<tr valign=\"top\"><td><p>Old Email Address:</td><td><p>".$row['email']."</td></tr>";
echo "<tr valign=\"top\"><td><p>New Email Address:</td><td><p><input type=\"text\" name=\"emailaddy\" size=\"44\"></td></tr>";
echo "<tr valign=\"top\"><td><p>Password :</td><td><p><input type=\"password\" name=\"currentpass\" size=\"24\"></td></tr>";
echo "<tr valign=\"top\"><td></td><td><p><input type=\"submit\" name=\"submit\" value=\"Update\"></td></tr>";
echo "</form></table>";
?>
Thanks in advance.
Jon