PHP Archiv

Das PHP Script Verzeichnis

Tag Archives: Code

Routine Restore htmlspecialchars function restore_hsc($len){ $val = str_replace(‚&amp;‘, ‚&‘, $val); $val = str_replace(‚&ouml;‘, ‚�‘, $val); $val = str_replace(‚&auml;‘, ‚�‘, $val); $val = str_replace(‚&uuml;‘, ‚�‘, $val); $val = str_replace(‚&lt;‘, ‚<‚, $val); $val = str_replace(‚&gt;‘, ‚>‘, $val); $val = str_replace(‚&quot;‘, ‚“‚, $val); return $val; } [/php] Quelle: Johnas John