But worse, the passwords are stored in clear text in the database. I think this is a security concern that should be addressed.
I had some problems when I changed my password to one that was a bit more secure. It seems that "special characters" (that is, other than a-z, 0-9) may cause problems. It would be a good idea to fix that.
$user=ereg_replace('[^a-zA-Z0-9]', "", $_POST['login']);
$pw=ereg_replace('[^a-zA-Z0-9]', "", $_POST['password']);
Michael wrote:...or - even better - if you or somebody else out there could point me in the right direction in terms of constructing the ereg_replace statements so they accept more letters/characters, I would be grateful.
Perhaps ereg_replace is the wring tool afterall..? I'm a bit stuck here...
Users browsing this forum: No registered users and 1 guest