strtolower($stringa)

ti restituisce il lower case della stringa...

fai i confronti così..