Miscellany
public php v1 · immutable<? if (!function_exists(stri_replace)) { function stri_replace($findme,$replace,$string) { $lstring = strtolower($string); $lfind = strtolower($findme); if (($offset = strpos($lstring,$lfind)) !== false) { return str_replace(substr($string,$offset,strlen($findme)),$replace, $string); } return $string; } }?>