Wednesday 5 September 2012

Set variables which could cause the TCPDF to generate PDF correctly


// These below are variables which could cause the TCPDF to generate PDF correctly. // So, please check the tcpdf configuration and set the below variables if necessary.
/* Increase the memory limit for the PDF. */
ini_set('memory_limit', '256M'); 
ini_set('safe_mode', 0);
ini_set('allow_url_fopen', 1);

No comments:

Post a Comment

Please post any queries and comments here.