Sigue pasando lo mismo
Código PHP:
// $chatbox_file['other'] //tiene un valor constante
if(is_file($chatbox_file['other']))
{
$others_data = file_get_contents($chatbox_file['other']);
if($others_data !== false)
$others_data = unserialize($others_data);
else file_put_contents("error.txt", "...");
}
else if(!is_array($others_data)) $others_data = array( 'flood_time' => 0, 'flood_userid' => 0, 'flood_count' => 0, 'global_id' => 0 );
// ... otras cosas que pueden modificar el array ...
file_put_contents($chatbox_file['other'], serialize($others_data));
cada tanto se crea "error.txt" y se reinicia el array