Re: How do you read one of these parameters?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



trlists@xxxxxxxxxx wrote:

On 11 Feb 2005 Richard Lynch wrote:



BAD: http://example.com/dynamic_pdf.php?record_id=1
GOOD: http://example.com/dynamic_pdf.php/record_id=1/fool_ie.pdf



Just curious, how does IE screw up the first one?

--
Tom



IE has unique (read: non-standard) way of determining the Content-Type of a request. The BAD example doesn't get read as a PDF by IE, no matter what the Content-Type is. I'm not fully versed in this behavior, but I do know that IE acts correctly if the URL (not just the text before a ?) ends in .pdf AND the Content-Type is text/pdf .

Chris

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux