Quote:
|
How does it do string comparisons? Does hi = HI? In .NET, we can use an overload of String.Compare that tells it to do case (in)sensitive comparisons when we want to. People who don't stay up to date usually wind up doing a string.ToUpper() against both. So if someone types hi and your word list has HI or Hi it still gets caught.
|
In PHP some functions are case sensitive and some is case insensitive. Most of functions have both version especialy string functions. For example, strstr find first occurrence of a string and it is case sensitive, stristr do the same but it is case insensitive.
Shivaji
__________________
Please login or register to view this content. Registration is FREE - uncommon free scripts
Please login or register to view this content. Registration is FREE - Städte, Sport, Party, Gourment, Apartments, Hotels
Last edited by shivaji; 12-20-2007 at 04:53 AM..
|