Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/09/2010, 11:01
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Respuesta: "header" para descargar mp3

El típico error de ejecutar echo o escribir html antes de llamar a la función header().
No se permite hacer eso.
2 soluciones

1) Quitar las llamadas a echo o no colocar código html.
2)Usar ob_start(). Ver:

http://cl.php.net/manual/es/function.ob-start.php