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 shimmyshack on 05/12/07 12:39

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.
>
> --
> -Lost
> Remove the extra words to reply by e-mail. Don't e-mail me. I am
> kidding. No I am not.

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!!

 

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

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