Ver Mensaje Individual
  #3 (permalink)  
Antiguo 31/10/2009, 17:59
Avatar de neodani
neodani
 
Fecha de Ingreso: marzo-2007
Mensajes: 1.811
Antigüedad: 17 años, 2 meses
Puntos: 20
Respuesta: Cómo imprimir salida de un array en fichero txt

Cita:
Iniciado por emiliodeg Ver Mensaje
Código php:
Ver original
  1. $fp = fopen("salida.txt","a");
  2. fwrite($fp, print_r(imap_fetchstructure($imap, $message),true));
  3. fclose($fp);

fijate q agregando el true se soluciona el problema, revisate el manual de referencia sino
Muchas gracias emiliodeg, funcionó a la perfección