Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manuale Utente Pagina 115

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 148
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 114
Using Server-Side HTML Commands
Chapter 3 Server-Parsed HTML Tags 115
flastmod
exec
config
The config command initializes the format for other commands.
•The
errmsg attribute defines a message sent to the client when an error occurs
while parsing the file. This error is also logged in the error log file.
•The
timefmt attribute determines the format of the date forthe flastmod
command. It uses the same format characters as the util_strftime function.
The default time format is:
"%A, %d-%b-%y %T".
Refer to the Time Formats appendix in the Netscape Enterprise Server NSAPI
Programmer’s Guide for details about time formats.
•The
sizefmt attribute determines the format of the file size for the fsize
command. It can have one of these values:
bytes to report file size as a whole number in the format 12,345,678.
abbrev (the default) to report file size as a number of KB or MB.
Example:
<!--#config timefmt="%r %a %b %e, %Y" sizefmt="abbrev"-->
Thissets the date format to a value such as08:23:15 AM Wed Apr 15, 1996, and the
filesizeformattothenumberofKBorMBofcharactersusedbythefile.
include
The include command inserts a file into the parsed file. You can nest files by
including another parsed file, which then includes another file, and so on. The
client requesting the parsed document must also have access to the included file if
your server uses access control for the directories where they reside.
Vedere la pagina 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 147 148

Commenti su questo manuale

Nessun commento