Code: Alles auswählen
function decode_entities($text) {
$text= html_entity_decode($text,ENT_QUOTES,"ISO-8859-15"); #once
$text= html_entity_decode($text,ENT_QUOTES,"ISO-8859-15"); #twice
$text= preg_replace('/&#(\d+);/me',"chr(\\1)",$text); #decimal notation
$text= preg_replace('/&#x([a-f0-9]+);/mei',"chr(0x\\1)",$text); #hex notation
return $text;
}
Außerdem verursacht die Zeile
Code: Alles auswählen
if ($activeModules[$directory]['auto_expire']=="yes") $data['verfallsdatum'] = date('Y-m-d', time() + $activeModules[$directory]['expire_time']*86400 ) . ' 23:59:59';
Kannst du für die beiden Probleme bitte eine Lösung generieren?