You are here: Re: Making one HTML page from more than one file « HTML « IT news, forums, messages
Re: Making one HTML page from more than one file

Posted by Sherm Pendley on 04/22/07 19:33

Manfred Preußig <PreussigM@web.de> writes:

> Steven Saunderson schrieb:
>> On 22 Apr 2007 00:46:06 -0700, Desmond <otuatail@aol.com> wrote:
>>
> ...
>> I don't think the extension of the filename of the included file
>> matters. I have PHP scripts that 'include' files such as index.inc and
>> these files contain PHP statements that are parsed correctly.
>>
> Taht are good news. But ... that it works with these other extensions
> don't really mean that it works with php in *.html ... sadly since the
> php-parser may take all extensions ... but what's about the
> html-parser?

The HTML parser is in the browser. It doesn't care what the extension of
the file is, or even if the content it received was read from a file at
all. All the browser cares about is the MIME type specified by the server
in the HTTP headers; if that is text/html, it parses it as HTML.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

 

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

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