You are here: Re: SSI « HTML « IT news, forums, messages
Re: SSI

Posted by Stan McCann on 01/03/31 11:42

matty <matty@digitalstratosphere.net> wrote in
news:90GRf.11813$S25.9338@newsread1.news.atl.earthlink.net:

> Greg N. wrote:
>
>> matty wrote:
>>
>>> I have tried creating a html file with the necessary
>>> code for the title and then I added <!--#include ...
>>
>> If SSI is supported at all on your server, chances are that it is
>> configured to require your file type to be SHTML instead of HTML.
>>
> Tried that, no luck. Thanks for the tip though. I am going to
> contact my hosting company and see what is enabled and not. I amy
> be out on a limb here but is this something I can do with PHP? It
> is on my list of things to play with and this might be a good push
> for me to dig into it.
>
>

It uses different syntax, but yes, PHP will work too if installed.
<!--#include ... becomes <?php include ("path/include.file"); ?> or if
including files that may contain code that can't be redefined, use the
include_once() function instead of include().

--
Stan McCann, "Uncle Pirate" http://stanmccann.us/
Webmaster, NMSU at Alamogordo http://alamo.nmsu.edu/
Now blocking Google Grouper posts and replies.
http://blinkynet.net/comp/uip5.html

 

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

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