You are here: Server Side Include (SSI) Include Help « HTML « IT news, forums, messages
Server Side Include (SSI) Include Help

Posted by newsgroups on 12/12/06 05:18

What I'm trying to do is for each page I want to have a dynamic include

that is derived from the current document name.

Example, for a page named foo.shtml I want to derive the following
include statement:


<!--#include virtual="/foodir/foo_incl.htm" -->


So <!--#echo var="DOCUMENT_NAME" --> gives me the filename (foo.shtml)
and what I need to do is take the foo bit and append _incl.htm to give
foo_incl.htm and then use this in an SSI include.


Any help most welcome and appreciated.

 

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

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