case sensitiviness

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jordix

    case sensitiviness

    Hi all
    Is there a way to make some functions work ignoring the case? For
    example, strsubst


    I have doxygen in two computers, one linux and the other WNT, both with
    php and apache. Doxygen search engine uses a php scritp to do the work,
    but the extrange thing is that in the linux one the search is case
    sensitive and in the wnt is case insensitive. I wonder if there are
    some configuration for php to change the behaviour of the comparisons
    of strings...

    thanks in advance
    jordi xuclá

  • Erwin Moller

    #2
    Re: case sensitiviness

    jordix wrote:
    Hi all
    Is there a way to make some functions work ignoring the case? For
    example, strsubst
    >
    >
    I have doxygen in two computers, one linux and the other WNT, both with
    php and apache. Doxygen search engine uses a php scritp to do the work,
    but the extrange thing is that in the linux one the search is case
    sensitive and in the wnt is case insensitive. I wonder if there are
    some configuration for php to change the behaviour of the comparisons
    of strings...
    >
    thanks in advance
    jordi xuclá
    Hi jordi,

    strcasecmp(str1 , str2) will do the job.
    Check for details www.php.net.

    (Some databases can also be set to use casesensitive searching.)

    Regards,
    Erwin Moller

    Comment

    Working...