fpdf

FPDF error: Some data has already been output by using FPDF

FPDF error: Some data has already been output by using FPDF questions : I am getting FPDF Error while trying to OutPut require('cons.php'); $fpd = new fpdfx(); $fpd->AddPage(); $fpd->SetFont('Arial','B',16); $fpd->Cell(40,10,'Hello World!'); $fpd->Output(); and i have few codes in cons.php error_reporting(E_ERROR | E_PARSE); //For Error Reporting session_start(); setlocale(LC_MONETARY, 'da_DK'); set_time_limit(0); define("DBHOST","XXX"); define("DBNAME","XXX"); define("DBUSER","XXX"); define("DBPASS","XXX");

[ Read More ]

PDF created with FPDF cannot be opened by Adobe Reader

PDF created with FPDF cannot be opened by Adobe Reader questions : My PDF file cannot be opened with Adobe Reader. What’s weird is that the PDF used to work in Adobe Reader just a few days ago and now it does not work, and of course I didn’t modify the code otherwise

[ Read More ]