Merhaba,

post ve get için şöyle bir güvenlik fonksiyonum var:
// POST, GET Güvenlik
function cleanMe($input) {
   $input = mysql_real_escape_string($input);
   $input = htmlspecialchars($input, ENT_IGNORE, 'utf-8');
   $input = strip_tags($input);
   $input = stripslashes($input);
   return $input;
}

Ancak local'de on numara çalışan sistem server'da:
Warning: htmlspecialchars() expects parameter 2 to be long, string given in /home/cialis/public_html/***.com/function.php on line 15

diye hata verdi? Sebebi ne olabilir tahminen?