[thelist] PHP - wildcard with stristr()

Shashank Tripathi sub at shanx.com
Sat Mar 23 17:40:00 CST 2002


Hi Bill


    | if (
    |           $file != "."
    |      and  $file != ".."
    |      and  stristr("$searchstring", $file)
    |    )


This IF condition sounds ok to me, do you find that this is not working?
If not, can you give an example of a string from which STRISTR doesn't
recognize your wildcard pattern?

Shanx




More information about the thelist mailing list