Ver. 11.Ein Fehler ist aufgetreten.Bitte wenden Sie sich an den Site-Administrator.
Fehlercode: 103
"); }}?> Ein Fehler ist aufgetreten. Bitte wenden Sie sich an den Site-Administrator.Fehlercode: $code
"; die(); } $gbpath = "../guestbook"."/" ; $separateForm = false; $topForm = true; $notifyWebmaster = true; $notifyEmail = "jyoung@johnyoung-online.com"; $showtime = true; $emoticons = true; $smtpip = "smtp.johnyoung-online.com"; $separator = '|'; $gbfile = $gbpath.'entries.dat'; // predefine variable values $myVars['pass'] = ''; $myVars['name'] = ''; $myVars['email'] = ''; $myVars['homepage'] = ''; $myVars['city'] = ''; $myVars['state'] = ''; $myVars['country'] = ''; $myVars['comment'] = ''; $myVars['op'] = ''; // working variables initialisation function gbInitParameterVariables($array, &$target) { if (!is_array($array)) { return FALSE; } $is_magic_quotes = get_magic_quotes_gpc(); foreach ($array AS $key => $value) { if (is_array($value)) { unset($target[$key]); gbInitParameterVariables($value, $target[$key]); } else if ($is_magic_quotes) { $target[$key] = stripslashes($value); } else { $target[$key] = $value; } } return TRUE; } if(!empty($_GET))gbInitParameterVariables($_GET, $myVars); if(!empty($_POST)) gbInitParameterVariables($_POST, $myVars); $op = $myVars['op']; if ($op == "add") { //data curenta $data = date("l F j Y g:i:s A"); $name = $myVars['name']; $email = $myVars['email']; $homepage = $myVars['homepage']; $city = $myVars['city']; $state = $myVars['state']; $country = $myVars['country']; $comment = $myVars['comment']; $array = array("$name", "$email", "$homepage", "$city","$state", "$country", "$data", "$comment"); $full = implode($separator, $array); //ptr a inlocui taguri, enter, ghilimele, spatiu $tmp = $full; $tmp = str_replace('<', "<", $tmp); $tmp = str_replace('>', ">", $tmp); $tmp = str_replace("\r\n", "";
echo "Name: ".$sir[0]."
";
if ($sir[1] != "") {
echo "E-Mail: "."$sir[1]"."
";
}
if ($sir[2] != "") {
echo "Homepage: "."$sir[2]"."
";
}
if ($sir[3] != "") {
echo "Stadt: "."$sir[3]"."
";
}
if ($sir[4] != "") {
echo "Bundesland: "."$sir[4]"."
";
}
if ($sir[5] != "") {
echo "Land: "."$sir[5]"."
";
}
if ($showtime) {
echo "Gesendet: ".$sir[6]."
";
}
echo "
".$sir[7]."
"; } }; echo "