Salve a tutti, fino ad ora utilizzavo la codifica iso-8859-1 , e tutto andava bene.
Putroppo ora, per inserire nel sito lingue come il romeno, russo ecc... mi tocca utilizzare la codifica utf-8.
Il problema è che la stessa pagina con con la codifica iso-8859-1 non mi dava nessun problema, mentre con la utf-8 mi ritrovo con 3 stringhe di errore nel mio sito web:
Warning: Cannot modify header information - headers already sent by (output started at /usr/home/9075417276/www/httpdocs/new-shop/ro/index.php:1) in /usr/home/9075417276/www/httpdocs/new-shop/setourcookie.php on line 15
Warning: Cannot modify header information - headers already sent by (output started at /usr/home/9075417276/www/httpdocs/new-shop/ro/index.php:1) in /usr/home/9075417276/www/httpdocs/new-shop/setourcookie.php on line 15
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/home/9075417276/www/httpdocs/new-shop/ro/index.php:1) in /usr/home/9075417276/www/httpdocs/new-shop/ro/index.php on line 3
I problemi sono dati dalla 1a e 3a riga del mio file:
E' un errore che non avevo mai visto, mi potreste dare qualche spiegazione? Graziecodice:<?php include "../setourcookie.php"; ?> <?php session_start(); $mail = ""; $firstname = ""; $lastname = ""; $company = ""; $vat = ""; .....