$test = 'Test';
if ( (lc($test) == 'test') and (lc('Test') == 'test') )
{
    $success = TRUE;
}