diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-11-06 00:44:48 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-11-06 00:44:48 +0000 |
commit | 1b5b81d601cc1860f257ba0eb66178875834a111 (patch) | |
tree | 9cf2eb95d08d7e21956b1de553043cd3e4c3d72d /nonpublic/faq.php | |
parent | abf811c6048b3bd77243d284b8864fd608f094b1 (diff) |
be begonen auf auf registerglobals=off aus gegeben anlass umzustellen, hab nonpublic geschafft
Variabenpruefung ist auch auf strickt gesetzt und eventuelle error beseitigt
git-svn-id: svn://svn.cccv.de/engel-system@14 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'nonpublic/faq.php')
-rwxr-xr-x | nonpublic/faq.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nonpublic/faq.php b/nonpublic/faq.php index d8388f50..6470ba4f 100755 --- a/nonpublic/faq.php +++ b/nonpublic/faq.php @@ -5,9 +5,9 @@ include ("./inc/header.php"); // Erstaufruf, oder Frage bereits abgeschickt? -if (!IsSet($eUID)) { - -Print_Text(35); +if (!IsSet($_POST["eUID"])) +{ + Print_Text(35); ?> <br><br> <form action="./faq.php" method="POST"> @@ -20,9 +20,9 @@ Print_Text(35); } else { // Auswertung d. Formular-Daten: -echo "<b>".Get_Text(37)."</b><br><br>\n".nl2br($frage)."<br><br>\n".Get_Text(38)."<br>\n"; +echo "<b>".Get_Text(37)."</b><br><br>\n".nl2br($_POST["frage"])."<br><br>\n".Get_Text(38)."<br>\n"; -$SQL = "INSERT into Questions VALUES (\"\", \"".$_SESSION['UID']."\", \"$frage\", \"\", \"\")"; +$SQL = "INSERT into Questions VALUES (\"\", \"".$_SESSION['UID']."\", \"". $_POST["frage"]. "\", \"\", \"\")"; $Erg = mysql_query($SQL, $con); } |