Ec (2); foreach (array (_ GET, _ POST) as $ _ request) {& nbsp; foreach ($ _ requestas $ _ key & gt; $ _ value) {& nbsp; if ($ _ key {0 }! _) {& Nbsp; if (IS_GPC) {& nbsp; $ script ec (2 ); script
Foreach (array ('_ get',' _ Post') as $ _ request ){
Foreach ($ _ request as $ _ key => $ _ value ){
If ($ _ key {0 }! = '_'){
If (IS_GPC ){
$ _ Value = s_array ($ _ value );
}
$ _ Key = $ _ value;
}
}
}
Function s_array (& $ array ){
If (is_array ($ array )){
Foreach ($ array as $ k => $ v ){
$ Array [$ k] = s_array ($ v );
}
} Else if (is_string ($ array )){
$ Array = stripslashes ($ array );
}
Return $ array;
}
// Clear HTML code
Function html_clean ($ content ){
$ Content = htmlspecialchars ($ content );
$ Content = str_replace ("n ","
", $ Content );
$ Content = str_replace ("", "", $ content );
$ Content = str_replace ("t", "", $ content );
Return $ content;
}