note 63370 added to function.stripos

From: Date: Tue, 21 Mar 2006 14:59:32 +0000
Subject: note 63370 added to function.stripos
Groups: php.notes 
Request: Send a blank email to php-notes+get-106153@lists.php.net to get a copy of this message
If you're using PHP < 5, you can use this alternate function, same thing like stripos: <?php if (!function_exists("stripos")) { function stripos($str,$needle) { return strpos(strtolower($str),strtolower($needle)); } } ?> Such a logical function but I hope it helps ... ---- Server IP: 66.163.161.117 Probable Submitter: 200.93.215.3 (proxied: 1.0 SERVER-ISA) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.stripos.php Edit -- http://master.php.net/note/edit/63370 Del: integrated -- http://master.php.net/note/delete/63370/integrated Del: useless -- http://master.php.net/note/delete/63370/useless Del: bad code -- http://master.php.net/note/delete/63370/bad+code Del: spam -- http://master.php.net/note/delete/63370/spam Del: non-english -- http://master.php.net/note/delete/63370/non-english Del: in docs -- http://master.php.net/note/delete/63370/in+docs Del: other reasons-- http://master.php.net/note/delete/63370 Reject -- http://master.php.net/note/reject/63370 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106153) next »