Re: Compare Case Insensitive?

From: Date: Thu, 08 Apr 2004 15:33:37 +0000
Subject: Re: Compare Case Insensitive?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182847@lists.php.net to get a copy of this message
From: "Jeff Oien" <jeff@webdesigns1.com> > How can I compare a variable submitted by a form as case > insensitive? A promotional code will be entered into a form > and it's important that they can enter the code either way. strcasecmp(): http://us2.php.net/strcasecmp or strtoupper($string) == 'ABC123' ---John Holmes...

« previous php.general (#182847) next »