So:
ersetze
Code:
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
durch
Code:
function GetSQLValueString($theValue, $sicherheits_eingabe, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
und
Code:
$insertSQL = sprintf("INSERT INTO guestbook (name, entry, email, hompage) VALUES (%s, %s, %s, %s)",
GetSQLValueString($_POST['name'], "text"),
GetSQLValueString($_POST['entry'], "text"),
GetSQLValueString($_POST['email'], "text"),
GetSQLValueString($_POST['hompage'], "text"));
durch
Code:
$insertSQL = sprintf("INSERT INTO guestbook (name, entry, email, hompage) VALUES (%s, %s, %s, %s)",
GetSQLValueString($_POST['name'], $sicherheits_eingabe, "text"),
GetSQLValueString($_POST['entry'], $sicherheits_eingabe, "text"),
GetSQLValueString($_POST['email'], $sicherheits_eingabe, "text"),
GetSQLValueString($_POST['hompage'], $sicherheits_eingabe, "text"));