[TYPO3-dev] Install tool removes dots from admin usernames

Marcus Krause marcus#exp2009 at t3sec.info
Sat Jan 10 19:13:17 CET 2009


Steffen Kamper schrieb am 10.01.2009 16:16 Uhr:

> the syntax is bit different, also the - in characterclass has to be escaped
> 
>  preg_replace('/[^A-Za-z0-9_\-.]/','',$username)

I guess, the same with the dot. ;-)

preg_replace('/[^A-Za-z0-9_\-\.]/','',$username);



Marcus.




More information about the TYPO3-dev mailing list