Sounds that you want to read your .pdf files on your Mobile device,maybe iPhone, but failed? If that, you need to know that it is normal, because most of mobile device supports .pdf file veiwing poorly. The right way is to change the format from .pdf to .epub. Hope this would do you some indirections.
The problem is my client as well as most others own a PC with IE 7/8 on it. When they download the file they get the above error. It only happens with IE 7/8.
Has anybody else experienced this?
When you download the file using IE 7/8 it actually comes over as 0KB. Thus not containing any information. However using the smae computer and downloading the file using Firefox it contains all the information.
mmm, this does not seem related to Reader as the file is downloaded by IE as 0 bytes whereas other browsers seem to work fine. Reader is invoked after the file has been downloaded. You should also try posting your question in Microsoft's IE forums.
Were you able to solve this issue. I am having the same issue now. I have an app which generates reports and sends it as an attachment to senior managers. but they are not able to open the report. We all see the above error you mention.
Hi i have solved the ie bug creating the pdf phisically, this is the code i use:
$hostname = "XXXXXX";
$database = "XXXXX";
$username = "XXXXX";
$password = "XXXXXX";
$db = mysql_pconnect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR);
$query_rs_docs = "SELECT * FROM doc WHERE doc_name='".$_GET['doc_name']."'";
$rs_docs = mysql_query($query_rs_docs, $db) or die(mysql_error());
$row_rs_docs = mysql_fetch_assoc($rs_docs);
$totalRows_rs_docs = mysql_num_rows($rs_docs);
$t_pdf = fopen("/path to doc folder/doc/".$row_rs_docs['doc_name'], "w+");
the db table (doc_name must contain the .pdf extension):
CREATE TABLE IF NOT EXISTS `doc` (
`doc_ID` int(10) NOT NULL auto_increment,
`doc_name` varchar(255) NOT NULL,
`doc_file` longblob NOT NULL
PRIMARY KEY (`doc_ID`)
Message was edited by: Portale Sardegna