FD_F Posted August 3, 2010 Share Posted August 3, 2010 Hi, i need to get the file name was hashed and saved into mysql table filename is the field with the file name in his real name 84cce6f10297af027e28fc779097eeb6 and 45436 comming from my php script i did somthing like this: SELECT * FROM table WHERE customer='45436' AND md5('lefttsalt + table.filename + rightsalt') = '84cce6f10297af027e28fc779097eeb6'; any idea to what i`m doing wrong ? thanks in advanced Link to comment https://forums.phpfreaks.com/topic/209699-md5-with-salt-query-help/ Share on other sites More sharing options...
FD_F Posted August 3, 2010 Author Share Posted August 3, 2010 solved i spilt the query to tow parts but if somone have idea how to optimize [now php doing the md5 job] Link to comment https://forums.phpfreaks.com/topic/209699-md5-with-salt-query-help/#findComment-1094732 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.