Voy a poner la parte modificada de "betel_readDayfile-test-modif" para ver si algo me falla..
<?php
error_reporting(0);
// ************************************************************************************************************
// **** EDIT / SAVE as UTF8-NO BOM UTF8-NO BOM UTF8-NO BOM UTF8-NO BOM UTF8-NO BOM UTF8-NO BOM UTF8-NO BOM ****
// ************************************************************************************************************
//
// Annual Weather data summary - MAIN file
//
// PHP to process dayfile.txt and produce the table layout
//
// Original Author: David A Jamieson (daj@findmyinbox.co.uk)
// Version: 2.0 - dropdown option - 20 Feb 2014
//
// REBUILT with ideas from:
// the beteljuice
// Mark Crossley
// ... and no doubt several others !
//
// You may use and modify this code freely, however your should continue to
// acknowledge the original author(s)
//
// station 'bad' or 'missing' data maybe returned as a zero value, this makes a mess of eg. averages
// The ONLY way to ensure averages are accurate is to make 'bad' enties null eg. ,, (nothing in the field)
// Apparently this can be done in the Cumulus editor, but 'knock-on' effects are unknown.
// Línea 150. Modificación de Meteo Meyenheim para ver la media de los valores totales mensuales (las normales) de:
// 'rainfall, 'windrun', 'avgtemp', 'HoursSun' 'evt', 'heatday' y 'coolday'. Con ello, se obtienen los valores normales de la estación.
$this_file_name = "betel_readDayfile-test-modif.php"; // If you want to change the name of this file, change this TOO !
$dayfile = 'dayfile.txt'; // to work correctly this should be a relative address NOT full url
$field_delimiter = ';';
$date_delimiter = '/';
$buttons = true; // true = button options, false = dropdown options
$show_year_averages = true; // show year(s) averages below daily summary, true / false
$north_hemisphere = true; // Season names: true = 'Winter', 'Spring', 'Summer', 'Autumn' - false = 'Summer', 'Autumn', 'Winter', 'Spring'