Logged In: NO

BUGFIX - STATUS: TO BE CLOSED...

Hi,
because of changed behaviour of different php-versions in detecting/handling an error some errors couldnt detected in year 2002...

some of the errors may be suppressed by inserting an "@" in front of a returned variable, (return @$result) but the
very tricky part is this one:

function read_str($fp)

{

if (!feof($fp)) { // possible error 1

$strlen = $this->bin2dec(fread($fp, 4), 4);

return ($strlen > 0) ? fread($fp, $strlen) : ""; // possible error 2

}

else

return "";

}

I am using this database very often (but only strings, no arrays/bools) and if avoiding the situation of bug 772634, it is a very stable solution, (in php 4.2, 4.3, 4.4) and in giving back this bugfix to the community, i want to say thank you for this great program!

steelpandrummer/germany