On Friday 16 June 2006 08:10, Chris Shiflett wrote: > Richard's example is the correct Content-Type to use. Barry's is no > different than this: > > header('Content-Type: foo/bar'); > > It's better to use a valid type and to not have superfluous header() > calls that do nothing. > > Hope that helps. > > Chris I think Richard's point, though, was that while it does nothing now, you have no way of knowing when it will start having meaning. Sending garbage headers is sloppy, and opens yourself up to the environment changing out from under you. -- Larry Garfield AIM: LOLG42 larry@xxxxxxxxxxxxxxxx ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php