From a54ca6bfaf72832e0ca98278c037b7a1bc75fa16 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 25 Jan 2005 22:52:32 +0000 Subject: started working on package delete support --- web/html/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'web/html/index.php') diff --git a/web/html/index.php b/web/html/index.php index 033a69e..b05127b 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -19,10 +19,10 @@ if (isset($_REQUEST["user"]) || isset($_REQUEST["pass"])) { if (!$login_error) { # Try and authenticate the user # - - #md5 hash it + + #md5 hash it $_REQUEST["pass"] = md5($_REQUEST["pass"]); - $dbh = db_connect(); + $dbh = db_connect(); $q = "SELECT ID, Suspended FROM Users "; $q.= "WHERE Username = '" . mysql_escape_string($_REQUEST["user"]) . "' "; $q.= "AND Passwd = '" . mysql_escape_string($_REQUEST["pass"]) . "'"; @@ -120,5 +120,5 @@ print "\n"; html_footer("\$Id$"); -# vim: ts=2 sw=2 et ft=php +# vim: ts=2 sw=2 noet ft=php ?> -- cgit v1.2.3-54-g00ecf