index.php: anmeldefehler beseitigt
secure.php: debug messeges deaktiviert git-svn-id: svn://svn.cccv.de/engel-system@23 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
59948c9d8c
commit
8517a467e0
|
@ -2,6 +2,9 @@
|
|||
//soll dein funktion entahlten die alle übergebenen parameter überprüft
|
||||
//'`'"
|
||||
|
||||
if( $DEBUG)
|
||||
echo "secure.php START<br>\n";
|
||||
|
||||
foreach ($_GET as $k => $v)
|
||||
{
|
||||
$v = htmlspecialchars($v);
|
||||
|
@ -13,6 +16,8 @@ foreach ($_GET as $k => $v)
|
|||
exit;
|
||||
}
|
||||
$_GET[$k] = $v;
|
||||
|
||||
if( $DEBUG)
|
||||
echo "GET $k=\"$v\"<br>";
|
||||
}
|
||||
|
||||
|
@ -26,7 +31,11 @@ foreach ($_POST as $k => $v)
|
|||
exit;
|
||||
}
|
||||
$_POST[$k] = $v;
|
||||
|
||||
if( $DEBUG)
|
||||
echo "POST $k=\"$v\"<br>";
|
||||
}
|
||||
if( $DEBUG)
|
||||
echo "secure.php END<br>\n";
|
||||
|
||||
?>
|
||||
|
|
|
@ -7,7 +7,7 @@ include ("./inc/crypt.php");
|
|||
|
||||
session_start(); // alte Session - falls vorhanden - wiederherstellen...
|
||||
|
||||
if (!IsSet($_SESSION['UID'])) {
|
||||
if ( IsSet($_POST["user"])) {
|
||||
|
||||
$sql = "select * from User where Nick = '". $_POST["user"]. "'";
|
||||
|
||||
|
|
Loading…
Reference in New Issue