Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual de usuario Pagina 117

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 148
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 116
Using Server-Side HTML Commands
Chapter 3 Server-Parsed HTML Tags 117
exec
The exec command runs a shellcommand or CGI program.
•The
cmd attribute (UNIX only) runs a command using /bin/sh.Youmay
include any special environment variables in the command.
•The
cgi attribute runs aCGI program and includes its output in the parsed file.
Example:
<!--#exec cgi="workit.pl"-->
Environment Variables in Server-Side HTML
Commands
In addition to the normal set of environment variables used in CGI, you may
include the following variables in your parsed commands:
DOCUMENT_NAME
is the file name of the parsed file.
DOCUMENT_URI
is the virtual path to the parsed file (for example, /shtml/test.shtml).
QUERY_STRING_UNESCAPED
is the unescaped version of any search query the client sent with all
shell-special characters escaped with the \ character.
DATE_LOCAL
is the current date and local time.
DATE_GMT
is the current date and time expressed in Greenwich Mean Time.
LAST_MODIFIED
is the date the file was last modified.
Vista de pagina 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 147 148

Comentarios a estos manuales

Sin comentarios