cf=$cf; } public function js_redirect($link) { echo ""; } /* regex_prepare --------------------------------------------- */ public function regex_prepare($string) { $from= array('.', '+', '*', '?','[','^',']','$','(',')','{','}','=','!','<','>','|',':','-',')','/', '\\'); $to= array('\\.', '\\+', '\\*', '\\?','\\[','\\^','\\]','\\$','\\(','\\)','\\{','\\}','\\=','\\!','\\<','\\>','\\|','\\:','\\-','\\)','\\/','\\\\'); return str_replace($from,$to,$string); } } }