Re: Content type
| From: | Ignacio Vazquez-Abrams | Date: | Tue, 21 Nov 2000 19:25:50 +0000 |
| Subject: | Re: Content type | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26496@lists.php.net to get a copy of this message | ||
On Wed, 22 Nov 2000, Dennis Luo wrote:
> Hello,
>
> I have got a tricky question. When I type the following URL into the
> location bar on my browser,
>
>
> http://www.mp3.com.au/playasx.asp?id=2318&stream=56&file=song.asx
>
> The "real player" just comes up automatically and the existing web page
> does not change.
>
> I tried to get this working on my web site.
>
> I think it has got something to do with the "Content-type:". Then I
> tried "audio/mpeg" and "video/x-ms-asf". They don't work.
>
> Is there any experts out there can help?
>
> Thank you in advance.
>
> Dennis
>
Associating MIME types to applications is a Bad Idea (TM). Associate them
with the content of the file instead and let the user choose what
application is associated with the MIME type or extension.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>