You are here: Re: Posting form contents without having to push the button « PHP Programming Language « IT news, forums, messages
Re: Posting form contents without having to push the button

Posted by -Lost on 05/12/07 14:03

shimmyshack wrote:
> On May 12, 12:42 pm, -Lost <maventheextrawo...@techie.com> wrote:
>> -Lost wrote:
>>> shimmyshack wrote:
>>>> should return the correct content-type for javascript.
>>>> header( 'Content-Type: text/x-javascript' );
>>> Just wondering, where did you get that MIME from?
>>> I thought it was supposed to be:
>>> application/x-javascript
>>> At least "application/javascript" is not obsolete yet.
>>> Then again, I cannot read an RFC to save my life.
>> Bah, disregard shimmyshack. I didn't even see any posts beyond yours
>> until I posted the above.
>
> dont worry, its my fault for being so slap dash with the keyboard.
> I actually just copy the apache default, it seems to be very
> prevelant, although google get it right as per RFC, so perhaps I could
> start to change my coding habits, or at least my mimes.type file!!

Do you keep a MIME list or do you poll an RFC server?

I prefer to keep my own MIME, as required/normally used MIME types don't
change too much in my applications.

The mime.types files I have from Apache 1.3 and 2.x are identical. How
old of an install are you using if it has an obsolete JavaScript MIME type?

Mine is from 2004/07/15 12:34pm (1089909240).

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.

 

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

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