M wrote:
$clean['pass'] = md5((ini_get('magic_quotes_gpc') ? stripslashes($_POST['pass']) : $_POST['pass'])); or users with quotes in their password won't be able to log in.
This is best handled in one place, so that it's easier to maintain and less likely to be overlooked. In the examples provided, $_POST['pass'] is the password provided by the user.
Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php