Re: [PHP] Re: Name Capitalization

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 10:10 am, Michelle Konzack wrote:
>Anyway, why not reject any $USER input, which has
>only CAPITALS/SMALL LETTERS?

$first_name = 'J.K.';
$last_name = 'Rowling';

$first_name = 'e.e.';
$last_name = 'cummings';

.
.
.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Name Capitalization

2007-05-04 Thread Paul Novitski

At 5/4/2007 08:10 AM, Michelle Konzack wrote:

Anyway, why not reject any $USER input, which has
   only CAPITALS/SMALL LETTERS?



Because the OP is dealing with an existing dataset of all-caps names 
inherited from another system.


These names are not currently being input by users.  If that were the 
case, prompting users to unstick their shift keys would be possible.


Regards,

Paul
__

Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Name Capitalization

2007-05-04 Thread Michelle Konzack
  Can anyone tell me, WHY I get this message plus
  some others from this thread today (2005-05-03)?


Am 2007-03-19 12:22:10, schrieb Leonard Burton:
> HI All,
> 
> Does anyone use a library to properly capitalize last names?

Yes me, but it is my own one which I have created
from a (commercial) CD...

> For instance, McDonald needs to remain that way even if it comes in as
> MACDONALD, or macdonald.

I hate USER which some subscribing to something and
do not know anything about capitalization...

> Of course I can write it on my own but would prefer not to reinvent the 
> wheel.

I do not know a free database but you can do something
your own with a telephone number CD... 

It took me arround 5 weesks to get the 27 compressed
650 MByte CD's giving out the First- and Family-Names.

I think, you have do it yourself...

ATTENTION:  You need Country/Language specific lists...
(Someone was talking about this in the thread)


   Anyway, why not reject any $USER input, which has
   only CAPITALS/SMALL LETTERS?

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


[PHP] Re: Name Capitalization

2007-05-04 Thread Michelle Konzack
Am 2007-03-23 21:27:40, schrieb Richard Lynch:
> The solution remains:
> 
> Hire a human.
> 
> The computer will never get accurate enough.
> 
> The exception might be if you are dealing with MILLIONS of names,
> where a filter would pay off.  You'd still need human review and a
> validation process that involved human oversight to a significant
> percentage.
> 
> I do not think the OP has millions of names.

Only arround 48000.

The filter should check, whether the inputstring is ONLY CAPITAL
LETTERS or ONLY SMALL LETTERS and then it should act.

I do this too with some input fields (no big text fields) since
$USER are baindamaged in relation to the right capitalization.

Oh, if someone type a name NOT in the database, my system inform
me with an E-Mail.  So I can update the list.

Please note, that I have one list per country which is sometimes
redunant but reduce errors...

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


[PHP] Re: Name Capitalization

2007-05-04 Thread Michelle Konzack
Am 2007-03-21 16:57:36, schrieb Shafiq Rehman:
> Hi,
> 
> Some problems are universal and we cannot fix them in computer science. I
> think it's better to educate/guide your visitors about such names that they
> write in correct capitalization

ROTFL  -  In this brandamaged world!

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature