[PHP] BIG PROBLEm with headers

2002-03-08 Thread Krzysztof Kocjan

Hi

I have problem with downloading any file from my site using IE 5.5 and 
HTTPS protocol. My php script works fine with Netscape 6.2 and 
HTTP/HTTPS protocols and with IE 5.5 but only with HTTP protocol.
I can't find problem.
I use Apache 1.3.20, PHP 4.0.6, mod_ssl 2.8.4 and OpenSSL 0.9.6 on 
RedHat 7.1 platform.
My download php script is so simple, but I present it below:

?

header( 'Content-Encoding: gzip');
header( 'Content-Type: application/x-gzip' );
header( 'Content-Disposition: attachment; filename=file.txt.gz' );

readfile( '/tmp/file.txt.gz' );
exit();

?

As I said it works fine with Netscape 6.2 for both HTTP and HTTPS and 
only with IE 5.5 for HTTP. Is there any expert how can tell me what is 
it wrong or what I have to do to use IE 5.5 and HTTPS protocol for 
downloading gziped files (or any other files) from my site. All pages in 
my site work fine except this simple one.

Thank You very much for any help.

Krzysiek


--
Wejdz do gry! Pilkarska Ruletka!  http://ruletka.interia.pl/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] BIG PROBLEm with headers

2002-03-08 Thread Analysis Solutions

Hi Krzysiek:

 I have problem with downloading any file from my site using IE 5.5 and 
 HTTPS protocol. My php script works fine with Netscape 6.2 and 
 HTTP/HTTPS protocols and with IE 5.5 but only with HTTP protocol.

I suspect your script has nothing to do with it.  

A while back, I had problems serving my SSL'd pages to IE 5 users.  If I
recall correctly, it turned out to be a bug in IE not being able to
process certificiates with key lengths that were not the ones expected.  
Thawte or my ISP inadvertently used a 1028 bit key on the certificate 
rather than 1024.

Got a new certificate and everything's worked fine since then.

--Dan

-- 
PHP scripts that make your job easier
  http://www.analysisandsolutions.com/code/
 SQL Solution  |  Layout Solution  |  Form Solution
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] BIG PROBLEm with headers

2002-03-08 Thread Erik Price


On Friday, March 8, 2002, at 01:06  PM, Analysis  Solutions wrote:

 I have problem with downloading any file from my site using IE 5.5 and
 HTTPS protocol. My php script works fine with Netscape 6.2 and
 HTTP/HTTPS protocols and with IE 5.5 but only with HTTP protocol.

 I suspect your script has nothing to do with it.

 A while back, I had problems serving my SSL'd pages to IE 5 users.  If I
 recall correctly, it turned out to be a bug in IE not being able to
 process certificiates with key lengths that were not the ones expected.
 Thawte or my ISP inadvertently used a 1028 bit key on the certificate
 rather than 1024.

IE5 has known problems with SSL.  Some sites (sourceforge.net) use SSL 
only to authenticate the user, letting them back out of secure-mode 
after authentication succeeds, if the useragent is IE5.  It reduces the 
potential for problems.

Erik







Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php