note 52543 deleted from function.stripos by aidan

From: Date: Mon, 26 Dec 2005 02:20:09 +0000
Subject: note 52543 deleted from function.stripos by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100715@lists.php.net to get a copy of this message
Note Submitter: tobias dot kappe at hetnet dot nl ---- 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 ;)

« previous php.notes (#100715) next »