Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\index.php:1) in C:\AppServ\www\index.php on line 7
Y he buscado mucho por Google, pero no doy con el problema, el codigo es el siguiente, por si alguien me puede ayudar
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
Código PHP:
<?php
$idioma = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
$idioma = substr($idioma, 0, 2);
if ($idioma=='es')
{
setcookie("susalion",es,time()+365);
require_once('./lenguajes/es.php');
}
elseif ($idioma=='en')
{
setcookie("susalion",en,time()+365);
require_once('./lenguajes/en.php');
}
idioma($idioma);
echo AVANZADOS;
echo $_COOKIE['susalion'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>.......................... y aqui sigue el html
![Afirmando](http://static.forosdelweb.com/fdwtheme/images/smilies/afirmar.gif)