Jump to content

Matching up password?


darklight

Recommended Posts

 

looks like you are checking the wrong data type.

 

$num  should not be an array.

 

ex:


if( $num > 0)
{
header("Location:s/$rm.php");
}

 

 

side note: you should refrain from pulling the record with a password, if you need to you can always escape it. it leaves you open to injection attack.

 

ref: http://us2.php.net/mysql_escape_string

 

Good luck

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/69705-matching-up-password/#findComment-350285
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.