Page 2 of 2

Re: Pisearch Version 1.03

Posted: Thu Jun 22, 2006 3:30 pm
by gasman

Code: Select all

$config['default_encoding'] = 'Windows-1251';
$config['admin_encoding'] = 'Windows-1251';
:)

Re: Pisearch Version 1.03

Posted: Sat Jun 24, 2006 2:44 pm
by gasman
Fixed!

Code: Select all

$search2=trim(strtolower(htmlentities($search,ENT_NOQUOTES,$encoding)));
$search=trim(htmlentities($search,ENT_NOQUOTES,$encoding));
I've just replaced htmlentities with htmlspecialchars and now it works.

Thanks all!