
02-19-2004, 06:24 PM
|
 |
|
|
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by noppid
Faranth, nice hack.
I'm using pjirc and I'd like to use these two lines of code...would you mind?
PHP Code:
// ## Removes Non Alpha Numeric charaters except for a space ##
$nonalnum = ereg_replace("[^ [:alnum:]]", "", $bbuserinfo[username]);
// ## Strips spaces from the name if any are found ##
$Nick = ereg_replace(" ", "_", $nonalnum);
Thanks
|
If you need a formater for correct names for IRC wait for 2.5.2
|