Connecting Tech Pros Worldwide Forums | Help | Site Map

question about send out pdf content

Newbie
 
Join Date: Jul 2008
Posts: 23
#1: May 22 '09
Hi, all
I create a pdf content on fly and then print it out with coding as following. It's used to work fine on an apache server. Now I change to another apache server on different machine, it won't work now. I wonder maybe the apache version is different, this one is lattest version. Can't figure out the problem. Please advise, thank you very much!

Quote:
header('Content-Type: application/pdf');
header('Content-Disposition: inline');
print($rpt_content);
Jack

Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,652
#2: Aug 13 '09

re: question about send out pdf content


to me it looks rather like a browser issue…
Newbie
 
Join Date: Oct 2009
Posts: 1
#3: Oct 8 '09

re: question about send out pdf content


Greetings,

This may be a more widespread problem. We are having a problem with our Apache server in which the pdf file begins to display, but then hangs after a random number of bytes and eventually Acrobat Reader displays "insufficient data for an image" The number of bytes downloaded before the data stream stops, as shown in the status bar, is never the same twice - even with the very same pdf file. If I copy the same .pdf file from that server to another it downloads and displays normally.

Does it in IE8 and Firefox 3

Bob
Reply


Similar Apache Web Server bytes