View Single Post
  #3  
Old 03-19-2011, 05:13 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Rufus View Post
This should be just implemented globally as a central system. @#$%! also beats *****
Replace the provided function with:

PHP Code:
function getReplacement(characters) {
  
temp.symbols "!@#$%&";
  
temp.int(random(0symbols.length()));
  for (
temp.0temp.characterstemp.i++) {
    
temp.newstr @= symbols.charat((temp.temp.i)%symbols.length());
  }
  return 
temp.newstr;

Perhaps a getReplacementSymbols config option could be added.
__________________
Quote:

Last edited by fowlplay4; 03-19-2011 at 05:23 AM..
Reply With Quote