MSIE on Windows can't open PDF via SSL

From: Date: Tue, 24 Apr 2001 23:12:26 +0000
Subject: MSIE on Windows can't open PDF via SSL
Groups: php.general 
Request: Send a blank email to php-general+get-50209@lists.php.net to get a copy of this message
First off I'm aware of the service pack, installed it, no fix. Currently we build a PDF for download to represent a hardcopy of our customers data. It works very well so far and will likely become a standard feature. We experienced no problems with cross-platform use until we moved into a mod_ssl server. The PDFs are no served from within the SSL realm. We changed no code but now MSIE on W2K and NT cannot get a PDF, MSIE complains that the file "cannot be found". The ssl_request log shows no error and the file was served completely. All Macs, Unixes, and NAV on wintel platforms work fine. This works: Dynamic PDF (built with php) over http MSIE/NAV PC/MAC Dynamic PDF (built with php) over https MSIE/NAV MAC and NAV PC Static PDF over http MSIE/NAV PC/MAC Static PDF over https MSIE/NAV PC/MAC This doesn't: Dynamic PDF (built with php) over https MSIE on PC Param strings on the URL make no difference (think sessions), failure still occurs with the same message. That was why I tested static PDFs, just to be sure. We are running -> Apache 1.3.12 PHP 4.0.0 CPDF 2.02-r1-2 The code in question is as follows, <?php session_start(); $cpdf = cpdf_open(0); <build pdf things here> cpdf_finalize($cpdf); header("Content-type: application/pdf"); header("Content-Disposition: attachment; filename=Results.pdf"); header("Content-Description: PHP Generated PDF" ); cpdf_output_buffer($cpdf); cpdf_close($cpdf); ?> Any thoughts, suggestions, WAGs would be appreciated. DAve -- Dave Goodrich Director of Interface Development Reality Based Learning Company 9521 NE Willows Road, Suite 100 Redmond, WA 98052 Toll Free 1-877-869-6603 ext. 237 Fax (425) 558-5655 daveg@rblc.com http://www.rblc.com

« previous php.general (#50209) next »