la comparsa degli errori dipende da com'è impostato il php.iniOriginariamente inviato da fabio079
ok, su altervista tutto sembra ok, su altro server, tophost, ottengo 3 errori:
codice:Warning: Cannot modify header information - headers already sent by (output started at /home/mhd-01/www.MIOSITO.IT/htdocs/index.php:2) in /home/mhd-01/www.MIOSITO.IT/htdocs/index.php on line 3 Warning: Cannot modify header information - headers already sent by (output started at /home/mhd-01/www.MIOSITO.IT/htdocs/index.php:2) in /home/mhd-01/www.MIOSITO.IT/htdocs/index.php on line 4 Warning: Cannot modify header information - headers already sent by (output started at /home/mhd-01/www.MIOSITO.IT/htdocs/index.php:2) in /home/mhd-01/www.MIOSITO.IT/htdocs/index.php on line 5
ci sono alcuni server che non stampano nessun errore
se vuoi bloccare gli errori prova error_reporting(0); se il server ti fa modificare quel parametro