Re: [PHP] Re: Change in 5.2.1 re. parsing of URL

2007-02-20 Thread Lewis Kapell
Fergus Gibson wrote: Lewis Kapell wrote: We are already using the Content-type header (I should have mentioned that in my first message). Hmmm. So you have a PHP script that sets the mimetype correctly and then outputs straight PDF data, but the user's browser does not accept it as a PDF be

Re: [PHP] Re: Change in 5.2.1 re. parsing of URL

2007-02-20 Thread Fergus Gibson
Lewis Kapell wrote: > We are already using the Content-type header (I should have mentioned > that in my first message). Hmmm. So you have a PHP script that sets the mimetype correctly and then outputs straight PDF data, but the user's browser does not accept it as a PDF because the extension of

Re: [PHP] Re: Change in 5.2.1 re. parsing of URL

2007-02-20 Thread Lewis Kapell
We are already using the Content-type header (I should have mentioned that in my first message). And to say that the user's browser is misconfigured is no solution, since we don't have the ability to reconfigure it. If all of our users were on a local network there would be no problem. But t

[PHP] Re: Change in 5.2.1 re. parsing of URL

2007-02-20 Thread Fergus Gibson
Lewis Kapell wrote: > http://www.mydomain.com/mypage.php/phonypage.pdf > > In this example there is a PHP script called mypage.php which serves > up a PDF. Putting the extra text at the end of the URL makes it > appear to the user's browser that the URL ends with '.pdf' rather > than '.php'. We