Keine Ahnung ? funkt nicht
PHP Code:
if ($tagname && $hdmsg && $id){
$tagname = addslashes($tagname);
$emurl = addslashes($emurl);
$length = "30"; // Max Chars
$hdmsg = preg_replace('!(\w{'.$length.'})(?=\w+)!',' :) <b>Sorry !! width flood enabled !? chrs max !!</b> :) ', $hdmsg);
$hdmsg = strip_tags($hdmsg, $allowedtags);
$hdmsg = addslashes($hdmsg);
$poster = str_replace("\"", "", $poster);
$poster = str_replace("'", "", $poster);
$emurl = str_replace("\"", "", $emurl);
$emurl = str_replace("'", "", $emurl);
$emurl = strip_tags($emurl);
if (substr(strtolower($emurl),0,4)!="http" && !stristr($emurl, "@")) $emurl = "http://".$emurl;
$sql = "select adminip,adminname from $tableusers where id='$id'";
$result = mysql_query($sql) or die("Failed: $sql");
$resrow = mysql_fetch_row($result);
$adminip = $resrow[0];
$adminname = $resrow[1];
if ($poster == '$adminname' AND $_SERVER['REMOTE_ADDR'] != $adminip) {
$error="1";
$error_text .= "Name Reserved<br />";
}
Bookmarks