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 Manfred Preuίig on 04/22/07 11:14

Hello,
Adrienne Boswell schrieb:
> Gazing into my crystal ball I observed Desmond <otuatail@aol.com> writing
> in news:1177227966.693986.119770@b58g2000hsg.googlegroups.com:
>
>> What I ment is you cant use the statment
>>
>> <?php
>> include "filename.html";
>> ?>
>> on a file with an extension of .html it will not work the file has to
>> be changed to .php.
>> php is not used in PURE html
>>
>>
>
> No, you can use anything in there, as long as the server can parse it.
At the moment that's allready a question to me. I will ask the provider
what I can do there.
> The extension does not have to be php either, as long as the server has
> been configured to parse html as php.
That's about to be checked too.
>
> However, I will say that one should not try to include an entire HTML
> page within another, because one would get duplicate head elements.
Of course. If I do it like this I will make it through a special page
only for this. But even there it was the question if tags like <HTML>
have to be in there too. The duplicate header I think I need at one
point: To incorporate the CSS. Or is the setting in the including file
valid for the included file too?

> As
> when replying to usenet posts, only include the relevant information.
>
Sorry, I'm new user to usenet (in germany free servers for it are going
less and web forums are going more) and in forums the handling is
indifferent -some wants big quotes some not. Whatever you do -anybody
put critics on it. So ... I know it for the future.

Thanks to all for the information ... I will try it all.


Manfred

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация