You are here: Re: Upload file types « PHP Programming Language « IT news, forums, messages
Re: Upload file types

Posted by John Dunlop on 10/06/73 11:20

Shelly wrote:

> Also, please help me understand the meaning of "audio/mid".

its meaning depends on its context. it has the *form* of a
media type, as defined by MIME, but it's an error if it occurs
anywhere a media type is expected, because it hasn't been
registered and doesn't take the form of a private type.

[the rest assumes it is registered]

> Why is there the prequalifier of "audio/" and not simply have "mid"?

<audio> (</> is just a separator, without any semantics) is
what's termed a Top-Level Media Type, and usually indicates
the general type of data, whereas <mid> is a Subtype of the
specified top-level one, and usually indicates a specific
format. so <mid> is a 'kind of' <audio>, if you like.

--
Jock

 

Navigation:

[Reply to this 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

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