Re: [PHP] Upper case problem
Jay Blanchard wrote: [snip] I am having problems with users who upload text that only contains upper case letters. For example "SEARCHING FOR". Is there a way to detect this via PHP?` I would like to have the script return him to the form and inform him that this is not allowed. So basicly I need a sort of regex which does detect upper case letters in a row. Has anybody ann idea how such an regex could look like? [/snip] /A-Z/ /[A-Z]/ Freaking Windows users. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upper case problem
On Monday 03 October 2005 16:28, Merlin wrote: > Hi there, > > I am having problems with users who upload text that only contains upper > case letters. For example "SEARCHING FOR". Is there a way to detect this > via PHP?` I would like to have the script return him to the form and inform > him that this is not allowed. > So basicly I need a sort of regex which does detect upper case letters in a > row. Has anybody ann idea how such an regex could look like? > > Thank you for any hint, > > Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Upper case problem
[snip] I am having problems with users who upload text that only contains upper case letters. For example "SEARCHING FOR". Is there a way to detect this via PHP?` I would like to have the script return him to the form and inform him that this is not allowed. So basicly I need a sort of regex which does detect upper case letters in a row. Has anybody ann idea how such an regex could look like? [/snip] /A-Z/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Upper case problem
Hi there, I am having problems with users who upload text that only contains upper case letters. For example "SEARCHING FOR". Is there a way to detect this via PHP?` I would like to have the script return him to the form and inform him that this is not allowed. So basicly I need a sort of regex which does detect upper case letters in a row. Has anybody ann idea how such an regex could look like? Thank you for any hint, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php