Jump to content

md5 Help


refiking

Recommended Posts

You do realize you are returning the md5 hash with that logic?

 

All queries posted on here must be written in the structure

<?php
$q = "SELECT passwd FROM `ost_staff `WHERE username = '".$username."' AND passwd='".$pass."'";
$r = mysql_query($q) OR DIE(MYSQL_ERROR()."<br/><br />".$q);
?>

 

That or die part will probably error in your case and then you will realize its a sql problem not php.

 

However I do not see you doing anything with that query so even if it  doesn't error you just assigned a mysql resource, didn't do anything on it.

Link to comment
https://forums.phpfreaks.com/topic/90796-md5-help/#findComment-465441
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.