KarlisBa Posted July 27, 2009 Report Share Posted July 27, 2009 Sveiki! Ir tāda problēma, ka, kad es ievietoju md5 kodētu vārdu db tas atšķiras, tad, ja to pašu vārdu caur md5 padod caur $_POST formu un salīdzina. Respektīvi, db vārds zem md5 ir šāds - 1f74df58d1c0f7b55b5caa01e6c7f8 Bet post forma padod to pašu vārdu šādi - 1f74df58d1c0f7b55b5caa01e6c7f806 Kāpēc tā? Quote Link to comment Share on other sites More sharing options...
waplet Posted July 27, 2009 Report Share Posted July 27, 2009 tam kuram ir 32 simboli tas ir īstais, mosh tev kādi datubāze saīsina :? Quote Link to comment Share on other sites More sharing options...
marcis Posted July 27, 2009 Report Share Posted July 27, 2009 (edited) Datubāzē kolonai maksimālais simbolu skaits nav uzlikts 30? Edited July 27, 2009 by marcis Quote Link to comment Share on other sites More sharing options...
KarlisBa Posted July 27, 2009 Author Report Share Posted July 27, 2009 Datubāzē kolonai maksimālais simbolu skaits nav uzlikts 30? Ir, ir. :) Tad visi md5 vārdi ir ar 32 simboliem jeb burtiem un cipariem? Quote Link to comment Share on other sites More sharing options...
waplet Posted July 27, 2009 Report Share Posted July 27, 2009 jap visi ir 32 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.