What are some basic SSI tags/features? Skriv ut

  • 0

Include a document inside another
!--#include file="file.html"-- (relative path)
!--#include file="/sub/file.html"-- (absolute path)
!--#include file="../file.html"-- (relative path)

Execute a CGI script or command directly from a page
!--#exec cgi="/cgi-bin/your-script.cgi"--

Display the current date and time 
!--#echo var="DATE_LOCAL" --

Display the last modified date of file
!--#flastmod file="ssi.htm" --

(Surround each of those lines with <> arrow brackets.)

Var dette svaret til hjelp?

« Tilbake