Your right -- it is wrong.  I cut and pasted that directly from a File
Sharing app I wrote for our company intranet.
  
I wrote that script a very long time ago (1999 or 2000).  I think that,
originally, the first one didn't work and I added the second.

I forgot to remove it, maybe I though it was a good comment tag.  That whole
file sharing systems was written in the weeee hours of the morning, so I
should probably go through and alter the code.

My bad. 


<?php
/*

Stephen Johnson c | eh
The Lone Coder

http://www.thelonecoder.com
[EMAIL PROTECTED]

562.924.4454 (office)
562.924.4075 (fax) 

continuing the struggle against bad code

*/ 
?>

> From: "Richard Lynch" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 8 Mar 2005 08:56:57 -0800 (PST)
> To: "Stephen Johnson" <[EMAIL PROTECTED]>
> Cc: "zzapper" <[EMAIL PROTECTED]>, "php" <php-general@lists.php.net>
> Subject: Re: [PHP] Re: A general question
> 
> 
> Call me crazy, but sending TWO Content-type: headers seems just plain
> WRONG to me.
> 
> application/octet-stream will force a download in EVERY http-compliant
> browser.

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

Reply via email to