The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
stripos()
<a href="http://www.php.net/manual/en/function.stripos.php" target="_blank">http://www.php.net/manual/en/function.stripos.php</a>
Anybody know for sure in what version of PHP this function was introduced? |
#2
|
|||
|
|||
This won't be much help, but it doesn't work in the normal release of PHP4.3.1 with the following configures:
Quote:
|
#3
|
|||
|
|||
I guess. It's an extremely useful function though, I hope it comes out soon.
|
#4
|
|||
|
|||
Sure sounds like it! If it's your own server, you could download the source from CVS and compile it.. Works well, normally
|
#5
|
|||
|
|||
Wouldn't
strpos(strtolower($haystack), strtolower($needle)) work just as well? |
#6
|
|||
|
|||
Yes but why do that when there's a function that does it internally (probably faster, too)?
|
#7
|
|||
|
|||
so just do a
PHP Code:
|
#8
|
|||
|
|||
I solved the problem a while back and I'm doing something like that. I'm just saying a built-in PHP way will undoubtedly be faster.
|
#9
|
|||
|
|||
So if you need the speed, re-compileing the CVS might be needed..
|
#10
|
|||
|
|||
I can't recompile on shared servers, let alone other people's servers...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|