note 73419 deleted from function.sha1 by bobby

From: Date: Thu, 22 Feb 2007 15:17:04 +0000
Subject: note 73419 deleted from function.sha1 by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-123713@lists.php.net to get a copy of this message
Note Submitter: LK Reason: bad code ---- I use it this way <? $password = sha1 ($_POST['passwd']); $query = "SELECT username, password, level, id FROM ***** WHERE username = '" . $_POST['uname'] . "' and password = '" . $password . "' LIMIT 1"; $result = mysql_query($query) or die(mysql_error()); ?>

« previous php.notes (#123713) next »