Re: [PHP-ES] Reportes en pdf

[email protected] (Juan Manuel Acuña Barrera)
Newsgroups php.general.es
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


El 17/05/2011, a las 16:58, [email protected] escribió:

> Hola gente, estoy armando unos reportes en pdf desde php con la libreria
> tcpdf. El problema que estoy experimentando es que se trata de reportes muy
> extensos y el tiempo de ejecución expira. He agregado la sentencia
> set_time_limit(0) al código para que la ejecución el script no se
> interrumpa. Mis preguntas son:
> 
>   - si existe otra manera de hacer esto sin usar esta sentencia, por
>   ejemplo reiniciando el tiempo de ejecución antes que expire.

Depende de tus necesidades, pero puedes ponerlo en el php.ini

>   - me recomendarían usar otra librería para la creación de pdf.

Yo uso FPDF y es particularmente eficiente, aún con reportes grandes nunca he tenido problemas de vencimiento de tiempo.

> 
> Saludos
> 
> -- 
> Roberto
> --------------------------------------------
> www.revindipa.org.ar
> grandesinternautas.revindipa.org.ar
> productores-santacruz.revindipa.org.ar

Saludos!

Juan Manuel.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iEYEARECAAYFAk3S9T0ACgkQTc4QiYN6hDfPOQCgqckwpC58aPFwvqw0SqVp47v7
z0oAnA7mQyD0aU8fgIpANfSPhLD8LcCo
=aJl9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.