You are here: Re: How to make navigation buttons appear on all pages? « HTML « IT news, forums, messages
Re: How to make navigation buttons appear on all pages?

Posted by Chris F.A. Johnson on 02/05/07 19:13

On 2007-02-05, Alfred Molon wrote:
> In article <eq7fbo$ass$1@ss408.t-com.hr>, Shija says...
....
>> Every time page is loaded, server will change line:
>> <!--#include file="buttons.txt" --> with code in buttons.txt
>> When you need to add, or change some buttons, just change code in
>> buttons.txt, and this change will appear on every page.
>>
>> Of course, your server needs to support SSI, but I think most servers do.
>
> Don't you have to use the ending *.shtml for that?

If the "x-bit hack" is set in the Apache config, an .html file with
the execute bit set will also be parsed for server-side includes.
See: <http://httpd.apache.org/docs/2.0/mod/mod_include.html#xbithack>.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

 

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

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