Quote:
Originally Posted by Joco1114
I got the solution with login. There was the problem with mksecret() function in functions\function_main.php. It seems the genereated secret string stored in the mysql table was re-read incorrectly. That's because I use special accents (like: áűőúöüóí) and I had conflict with the codepages in PHP and in MySQL. Here is my mksecret():
PHP Code:
function mksecret($len = 20) { $ret = ""; $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
$size = strlen( $chars ); for( $i = 0; $i < $len; $i++ ) { $ret .= $chars[ rand( 0, $size - 1 ) ]; } return $ret; }
As it seems it generated only "readable" secret string contain [a-zA-Z0-9] chars. No accents! :)
PS: I'm waiting your complete version impatiently. :)
|
I will have a look... what is your language?
Pretty soon, I'm busy make language pack, its very time consuming ....