You are here: Re: Username regular expression « PHP Programming Language « IT news, forums, messages
Re: Username regular expression

Posted by Geoff Berrow on 01/27/07 13:44

Message-ID: <op.tmtehzlvqnv3q9@misant.kabel.utwente.nl> from Rik
contained the following:

>The way I usually handle it:
>- I'll have a very retrictive character set for the username (usually
>something like [a-zA-Z0-9_\s]+).

That's the thing I was looking for. And how would I use that with
preg_match? Just can't get my head round regex syntax, sorry.

>- Passwords are totally free, you can have a 1MB password string with
>chinese characters for all I care. I'll only use the md5'ed version of
>this.

Good point.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация