| PHP: remove_symbols
 This co-works with compare_similar_str() to achieve  preliminary anti-spam
 代碼:
 
/*
 * Replace symbols --> compare to achieve preliminary spam-proof
 */
 function remove_symbols($this_str)
 {
 $symbols = array('‘','’',':',',',';','。',',','"',';','、','~','@','#','$','%','︿','&','*',
 '/','!','@','#','$','%',':','^','&','*','(',')','-','_','+','=','{','[','}',']','?',
 '<','>','~', "\n", '\\',
 '╳','○','☆','★','□','■','●','【','】','「','」','『','』','〈','〉',
 '【','】','「','」','『','』','〈','〉','《','》','〔','〕','{','}','↑','↓','←','→','↖','↗','↙','↘','╳','○','☆',
 '☻','☺','♠','♣','♥','♦','♪','♀','♂','㊣', "'", ' ',
 );
 
 $test = str_replace($symbols, '', $this_str);
 return $test;
 }
 
 
 ________________
 
 美術插畫設計案子報價系統 v0.1 Beta
 爪哇禾雀
 
 |