Reply to Re: [PHP] How do you read one of these parameters?

Your name:

Reply:


Posted by Chris on 02/12/05 00:35

trlists@clayst.com 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация