3
Vote

pdf not display in browser

description

Hello,

We are using your pdf merger lib, so far it's working fine but last some days I'm getting an issue like pdf not display at browser (I won't not download the pdf file). I'm a developer so i have find from where actually origin this issue.

Below is a information about my problem
Filename : fpdf.php
Class name : FPDF
Function Name : Output

I'm catch in case 'I' when pdf load at browser. When I comment below line then it's working fine but some page always loading not display content and I also got an error in browser console is "Error: Invalid XRef stream"
header('Content-Length: '.strlen($this->buffer));
I'm waiting for your favorable reply.

Thanks & Regards,
Sunny

file attachments

comments