idea Steuerzeichen entfernen
This commit is contained in:
@ -566,4 +566,28 @@ $timenow = date("G:i");
|
||||
$timenowlong = date("G:i:s");
|
||||
$useronlinetime = date("Y-m-d H:i:s", mktime(date("H"),date("i")-5,date("s"), date("m"),date("d"),date("Y")));
|
||||
|
||||
?>
|
||||
function remove_idea_codes($input) {
|
||||
$toRemove = array(
|
||||
"<DC1>",
|
||||
"<DC2>",
|
||||
"<DC3>",
|
||||
"<ENQ>",
|
||||
"<ETX>",
|
||||
"<BS>",
|
||||
"<ESC>",
|
||||
"<ETB>",
|
||||
"<RS>",
|
||||
"<ACK>",
|
||||
"<CAN>",
|
||||
"<GS>",
|
||||
"<HT>",
|
||||
"<LF>",
|
||||
"<US>",
|
||||
"<DEL>",
|
||||
"<SUB>",
|
||||
"<DLE>"
|
||||
);
|
||||
|
||||
return str_replace($toRemove, " ", $input);
|
||||
//return $input;
|
||||
}
|
Reference in New Issue
Block a user