IMHO by sa to dalo cez vlastnú funkciu, ktorá by akurát zavolala stipslashes a htmlspecialchars s napevno zadaným parametrom.
Kód:
function striphtml($string){
return stripslashes(htmlspecialchars($string, ENT_QUOTES));
}
if (get_magic_quotes_gpc()){
$_GET = array_map('striphtml', $_GET);
$_POST = array_map('striphtml', $_POST);
$_COOKIE = array_map('striphtml', $_COOKIE);
}
_________________
A. S. Tanenbaum píše:
The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice.