Losing last 1 or 2 characters in md5 encrypted passwords.
Posted 19 February 2003 - 03:29 AM
At first i figured that the VarChar field was not large enough set at 30, and felt kinda dense...lol....so i set it to 50....still dropping them.....
then i figured it was my script, but it drops them even if entered directly in Mysql......
Any suggestions would be helpful.....if you like...the site is at http://184.108.40.206/index2.html
Thanks in advance.
Posted 01 March 2003 - 01:44 AM
<?php str_replace("ASP", "PHP", $str); ?>
Posted 29 August 2010 - 04:23 PM
Try using BLOB or TEXT instead of VARCHAR
It's a 32 character hexidecimal string. Store it as CHAR(32), if you must use MD5. You'd be better off using something stronger, with a salt, though.
Why $_SERVER['PHP_SELF'] is bad. || Why ORDER BY RAND() is bad || Every problem can be solved with rm -rf *
Remember, you're unique. Just like everybody else!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users