[EMAIL PROTECTED] 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

Reply via email to