Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 10-19-2009, 11:12 AM
Xecuter
Fire Beetle
 
Join Date: Apr 2009
Location: washington
Posts: 13
Default

As a work around i came up with this function, dunno maybe it will help someone else

PHP Code:
   function bad_char_strip($doit) {
    
$doit preg_replace("/\W+/"''$doit);
    
$doit preg_replace("/\s+/"''$doit);
    return(
$doit);
    }
  
$lsusername bad_char_strip($lsusername);
  
$charname bad_char_strip($charname); 
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:49 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3