Re: generando pdf
| From: | Chang | Date: | Tue, 09 Apr 2002 18:54:31 +0000 |
| Subject: | Re: generando pdf | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-21305@lists.php.net to get a copy of this message | ||
nada, ni de coña...
no será q hay que meterle al apache algo así como:
adtype aplication/x....... sobre el pdf.. ?
toi liao. saludos.
----- Original Message -----
From: "fr4nc!sk0 j4v!3r" <pacho@mangle.univalle.edu.co>
To: <lista@phpes.com>
Sent: Monday, April 08, 2002 12:51 PM
Subject: Re: [PHP-ES] generando pdf
>
> Prueba adicionando este par de lineas ...
>
> On Mon, 8 Apr 2002, Chang wrote:
>
> > <?
> > header("Content-Type: application/pdf");
>
> header("Content-Disposition: inline; filename=archivo.pdf");
>
> > flush();
> > passthru("path/to/ghtmldoc -f ppp.pdf info.txt");
>
> readfile("/path/to/generado.pdf");
>
> > ?>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Universidad del Valle Francisco Javier Lozano Bastidas
> Vicerrectoria Academica Administrador Servidor "mangle"
> Direccion de Educacion Desescolarizada Oficina : 3182624 - 3182613
> http://mangle.univalle.edu.co Celular : 5356253 - 4182699
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>