麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁(yè) > CMS > 動(dòng)易CMS > 正文

SHTML - SSI技術(shù)

2024-09-10 21:54:21
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

概要:

什么是shtml SHTML語(yǔ)法 SHTML教程 格式 編寫 技術(shù)

使用SSI (Server Side Include)技術(shù)

想要找到既富有創(chuàng)意的平面設(shè)計(jì)人員,又有腳本開(kāi)發(fā)經(jīng)驗(yàn)的人員,實(shí)在是太難了。而假如一個(gè)百分之百的頁(yè)面都是php腳本的網(wǎng)站,將為頁(yè)面維護(hù)帶來(lái)非常大的困難。而且使用了php的自動(dòng)加頭和加尾的方法,使得幾乎所有頁(yè)面都是語(yǔ)義不完整的,不能借助任何一款頁(yè)面設(shè)計(jì)工具工作,是另一個(gè)弊病。

利用SSI技術(shù),可以有效的將HTML網(wǎng)頁(yè)和CGI腳本邏輯上分開(kāi),也可以將重復(fù)的HTML元素抽象和獨(dú)立出來(lái),減輕維護(hù)負(fù)擔(dān)。

SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology.

全文:

配置Apache,支持SSI

# This tells Apache that you want to permit files to
# be parsed for SSI directives.Options Includes
# At linux or unix can use
# Options Includes -IncludesNOEXEC
# win32 not use it
# You have to tell Apache which files should be parsed.AddType text/html .shtmlAddHandler server-parsed .shtml

SSI語(yǔ)法

  • Basic SSI directives Syntax

    <!--#element attribute=value attribute=value ... -->
  • Today's date

    <!--#c onfig timefmt="%Y/%m/%d %a %H:%M:%S" -->Today is <!--#e cho var="DATE_LOCAL" -->
  • Modification date of the file

    This document last modified <!--#f lastmod file="index.html" -->
  • Including the results of a CGI program

    <!--#i nclude virtual="/cgi-bin/counter.pl" --><!--#i nclude virtual="/cgi-bin/example.cgi?argument=value" -->

    You can use "#e xec cgi=" directive, but it can be disabled using the IncludesNOEXEC Option.

  • Including a standard footer

    <!--#i nclude virtual="/footer.html" -->
  • Executing commands

    <!--#e xec cmd="ls" -->

    This feature is dangerous. You can allow SSI, but not the exec feature, with the IncludesNOEXEC argument to the Options directive.

共2頁(yè)上一頁(yè)12下一頁(yè)
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表

圖片精選

主站蜘蛛池模板: 日韩视频www | 在线免费小视频 | 欧美性生活久久久 | 成年人网站视频免费 | 日韩在线欧美在线 | 日韩大片在线永久观看视频网站免费 | 亚洲视频综合网 | 91久久久久久久久久久久久久 | 国产又粗又爽又深的免费视频 | 国产成人av一区二区 | 国产成年人网站 | 成人精品久久久 | 手机国产乱子伦精品视频 | 成人三级免费电影 | 日本a∨精品中文字幕在线 狠狠干精品视频 | 久久免费看毛片 | 国产一区二区三区黄 | 免费色片 | 成人午夜高清 | 国产日本在线 | 成人性视频欧美一区二区三区 | 久久精品国产久精国产 | 91av网址| 免费人成在线播放 | 福利一区二区三区视频在线观看 | 少妇的肉体k8经典 | 久久午夜神器 | 99ri在线 | 视频在线中文字幕 | 欧美77 | 亚洲精品欧美二区三区中文字幕 | 国产精品爆操 | 国产一区网址 | 国产a级网站 | 中文日产幕无线码6区免费版 | 日韩精品二区 | 欧美成人激情 | 国产亚洲精品久久久久久久久 | 亚洲欧美国产高清 | 亚洲国产馆 | 久久久久91视频 |