So for absolute compatibility you should use this:
<?php
if(!function_exists('stripos'))
{
function stripos($haystack,$needle,$offset = 0)
{
return(strpos(strtolower($haystack),strtolower($needle),$offset));
}
}
?>
or PHP_Compat if you like ;)
stripcslashes