View Single Post
Old 11.07.2007, 18:11   #69
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

some mistake for me..

find in func.php
PHP Code:
function safe($str) {
    
$banwords = array ("'", ",", ";", "-");
    if ( 
eregi ( "[a-zA-Z0-9]+", $str ) ) {
        
$str = str_replace ( $banwords, '', strtolower ( $str ) );
    } else {
        
$str = '';
    }
    return 
trim($str);
} 
replace to
PHP Code:
function safe($str) {
    
$banwords = array ("'", ",", ";", "-");
    if ( 
eregi ( "[a-zA-Z0-9]+", $str ) ) {
        
$str = str_replace ( $banwords, '', $str  );
    } else {
        
$str = '';
    }
    return 
trim($str);
} 
Ra1n0 is offline