Tema: Reportes php
Ver Mensaje Individual
  #25 (permalink)  
Antiguo 02/06/2011, 12:59
ocp001a
Colaborador
 
Fecha de Ingreso: mayo-2008
Ubicación: $MX['VZ']['Xalapa']
Mensajes: 3.005
Antigüedad: 16 años
Puntos: 528
Respuesta: Reportes php

El include es para incluir código php, no para leer un archivo de texto.
Para leer el contenido del archivo de texto puedes usar por ejemplo $contenido_extra=file_get_contents("ruta/archivo.txt");

este contenido debería incluirlo al inicio o final de tu html, en tu caso creo que sería algo así:
$html2pdf->writeHTML($content_html.$contenido_extra, isset($_GET['vuehtml']));