Re: How do you read one of these parameters?
| From: | Chris | Date: | Fri, 11 Feb 2005 22:35:15 +0000 |
| Subject: | Re: How do you read one of these parameters? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208571@lists.php.net to get a copy of this message | ||
trlists@clayst.com wrote:
On 11 Feb 2005 Richard Lynch wrote:ChrisBAD: http://example.com/dynamic_pdf.php?record_id=1 GOOD: http://example.com/dynamic_pdf.php/record_id=1/fool_ie.pdfJust 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 .