| All Tcl Commands by Category |
NaviServer commands |
| Engineering Standards Manual |
Engineering Standards Manual |
| History of NaviServer |
History of NaviServer |
| Keyed Lists |
Keyed Lists |
| Managing TCL interpreter initialization |
Managing TCL interpreter initialization |
| NaviServer ADP Development |
NaviServer ADP Development |
| NaviServer CGI Interface Guide |
NaviServer CGI Interface Guide |
| NaviServer Configuration |
NaviServer Configuration Guide |
| NaviServer Control Port Guide |
NaviServer Control Port Guide |
| NaviServer Database Administration Guide |
NaviServer Database Administration Guide |
| NaviServer Database Driver Development Guide |
NaviServer Database Driver Development Guide |
| NaviServer Features |
NaviServer Features |
| NaviServer Frequently-Asked Questions (FAQ) |
NaviServer Frequently-Asked Questions (FAQ) |
| NaviServer Installation Guide |
NaviServer Installation Guide |
| NaviServer Maintenance Guide |
NaviServer Maintenance Guide |
| NaviServer Permissions and Access Control Guide |
NaviServer Permissions and Access Control Guide |
| NaviServer Tcl Libraries |
NaviServer Tcl Libraries |
| NaviServer Tcl Overview |
NaviServer Tcl Overview |
| NaviServer Tuning and Scaling Guide |
NaviServer Tuning and Scaling Guide |
| NaviServer urlspace Data Structure |
NaviServer urlspace Data Structure |
| ns_accesslog |
Control the nslog access log module |
| ns_addrbyhost |
Forward lookup a hostname to its IP address |
| ns_adp |
ADP introduction and operation |
| ns_adp_abort |
Stop processing of the current ADP and discard queued output |
| ns_adp_append |
Append data to the output buffer for the current connection |
| ns_adp_argc |
Return the number of arguments to the current ADP |
| ns_adp_argv |
Return the number of arguments to the current ADP |
| ns_adp_bind_args |
Bind ADP arguments to variables |
| ns_adp_break |
Stop processing of the current ADP |
| ns_adp_ctl |
ADP control command |
| ns_adp_debug |
Connect to the TclPro debugger if not already connected |
| ns_adp_dir |
Returns the current working directory for an ADP page |
| ns_adp_dump |
Return the contents of the current ADP output buffer |
| ns_adp_eval |
Evaluate an ADP block |
| ns_adp_exception |
Examine the current ADP exception state |
| ns_adp_include |
Parse an ADP file and return its output |
| ns_adp_info |
Get inforamtion about currrently procesing ADP |
| ns_adp_mime |
Get or set the mime type for the current ADP page |
| ns_adp_mimetype |
Get or set the mime type for the current ADP page |
| ns_adp_parse |
Parse an ADP file or string and return its output |
| ns_adp_puts |
Append data to the output buffer for the current connection |
| ns_adp_register |
Creating custom ADP tags |
| ns_adp_return |
Stop processing of the current ADP and return up the call stack |
| ns_adp_safeeval |
Evaluate in safe Tcl interp |
| ns_adp_stats |
Return statistics about cached ADP pages |
| ns_adp_tell |
Get number of bytes in current ADP output buffer |
| ns_adp_trunc |
Truncate the ADP output buffer |
| ns_after |
Execute a command after a time delay |
| ns_atclose |
Queue a script to run after the current connection is closed |
| ns_atsignal |
Server callbacks |
| ns_base64decode |
Binary-to-text decoding using "base64" encoding |
| ns_base64encode |
Binary-to-text encoding using "base64" encoding |
| ns_browsermatch |
Match against the User-Agent header |
| ns_buildsqldate |
Build a SQL date value from specified month, day, and year |
| ns_cache |
Cache manipulation |
| ns_cancel |
Cancel scheduled proc |
| ns_chan |
Share Tcl channels between threads and interpreters |
| ns_charsets |
Determine the charsets for which we have encodings |
| ns_checkurl |
Checks url for authorization |
| ns_choosecharset |
Return the name of the most appropriate charset for the request |
| ns_cond |
Operate on condition variables |
| ns_config |
Extract configuration information from the server |
| ns_configsection |
Return a handle to an ns_set for a section of the server's configuration |
| ns_configsections |
Return a list of handles to ns_sets for every section in the server's configuration |
| ns_conn |
Find information about the current HTTP connection |
| ns_conncptofp |
Write content to a file |
| ns_cookie |
HTTP cookies |
| ns_cookiecharset |
Set the urlencoding to the charset given in the named cookie if it exists |
| ns_cookietime |
Convert seconds to Netscape's cookie date format |
| ns_critsec |
Operate on critical section objects |
| ns_crypt |
Encrypt a string for use as a password |
| ns_db |
Standard database access API |
| ns_dbquotename |
Surround a name with double quotes if it contains a space |
| ns_dbquotevalue |
Prepare a value string for inclusion in an SQL statement |
| ns_encodingforcharset |
Return the name of the encoding for the specified charset |
| ns_encodingfortype |
Return the encoding implied by the given mime type string |
| ns_env |
Return, change or add a value of an environment variable |
| ns_event |
Manage events |
| ns_filestat |
Returns information about a file |
| ns_findset |
Find a set by its name from a list of sets |
| ns_fmttime |
Convert seconds to a human-readable format using templates |
| ns_formfieldcharset |
Set the urlencoding to the charset given in the named form field if it exists |
| ns_ftruncate |
truncate an open Tcl channel to a specified length |
| ns_getform |
Return an ns_set that contains all of the query data that was part of the HTTP request |
| ns_getformfile |
Return a tempfile for a form file field |
| ns_geturl |
Fetch a URL |
| ns_gifsize |
Determine the width and height of a GIF87 or GIF89 image |
| ns_gmtime |
Return current time in Greenwich Mean Time (GMT) |
| ns_guesstype |
Lookup MIME type based on file extension |
| ns_hashpath |
Break path into subdirectories |
| ns_hostbyaddr |
Reverse lookup an IP address to its hostname |
| ns_hrefs |
Returns URLs from anchor elements in a chunk of HTML |
| ns_htmlselect |
Build an HTML SELECT form widget from the specified data |
| ns_http |
Simple HTTP client functionality |
| ns_httpget |
Open an HTTP connection and fetch a page |
| ns_httpopen |
Fetch a web page |
| ns_httppost |
Open an HTTP connection and posts data to the server |
| ns_httptime |
Convert seconds to HTTP date format |
| ns_ictl |
Manipulate and introspect Tcl interpreter internals |
| ns_imgmime |
Return the MIME type of an image |
| ns_imgsize |
Determine the width and height of a JPEG, GIF or PNG image |
| ns_imgtype |
Return the type of an image |
| ns_info |
Return information about various aspects of the running NaviServer |
| ns_issmallint |
Test to see if a number is a 'smallint' |
| ns_job |
Implement job queues and thread pools for evaluating Tcl scripts |
| ns_jpegsize |
Determine the width and height of a JPEG image |
| ns_kill |
Send a process a signal |
| ns_library |
Get the paths to the private and shared Tcl libraries |
| ns_limits |
Connection request resource limits |
| ns_localsqltimestamp |
Return a SQL timestamp containing the local time |
| ns_localtime |
Return current time in local timezone |
| ns_locationproc |
Register custom location handler |
| ns_log |
Send messages to the server log |
| ns_logctl |
Control buffering of log messages |
| ns_logroll |
Roll the server log |
| ns_memoize |
Evaluate a Tcl script and cache the result |
| ns_mktemp |
Make a unique temporary file name |
| ns_moduleload |
Load binary module and initialize it |
| ns_modulepath |
Get the paths to a server's modules |
| ns_mutex |
Operate on mutexes |
| ns_normalizepath |
Normalize a path |
| ns_pagepath |
Return path to current virtual server pages |
| ns_param |
Set a configuration parameter for a section |
| ns_paren |
Surround string with parentheses |
| ns_parseargs |
Parse list of arguments and store them into local Tcl variables |
| ns_parseheader |
Parse HTTP header |
| ns_parsehttptime |
Convert a HTTP date format string into seconds |
| ns_parsequery |
Parse a URL query string into an ns_set |
| ns_parsetime |
Return an element from the time structure list |
| ns_pause |
Pause a scheduled script from running |
| ns_perm |
Add users, groups, and permissions |
| ns_pngsize |
Determine the width and height of a PNG image |
| ns_proxy |
Execute Tcl scripts in an external process |
| ns_purgefiles |
Purge files by date, keeping max files |
| ns_puts |
Output string to the connection |
| ns_queryexists |
Check for a key in the query data that was part of the HTTP request |
| ns_queryget |
Get a value from the query data that was part of the HTTP request |
| ns_querygetall |
Get multiple query values from the HTTP request |
| ns_quotehtml |
Escape HTML characters so they appear as-is in HTML pages |
| ns_rand |
Generate a random number |
| ns_register |
Register Tcl/ADP handlers |
| ns_register_adp |
Respond to URLs with ADP or Tcl pages |
| ns_requestauthorize |
Perform authorization check |
| ns_resume |
Resume a previously paused scheduled script |
| ns_return |
Construct and send a response |
| ns_returnerror |
Return a complete HTTP status message |
| ns_rollfile |
Roll an arbitrary file |
| ns_runonce |
Run Tcl script only once |
| ns_rwlock |
Create, destroy, and manipulate read/write locks |
| ns_schedule |
Scheduling Tcl scripts |
| ns_section |
Specify the current configuration section |
| ns_sema |
Operate on semaphore-like objects |
| ns_sendmail |
Sending mail via SMTP |
| ns_server |
Get state of the server's connection pools and queues |
| ns_serverpath |
Returns absolute path to current virtual server home |
| ns_serverrootproc |
one-line summary what the command does |
| ns_set |
Manipulate sets of key-value pairs |
| ns_setexpires |
Set the current connections Expires header to the current time plus seconds seconds |
| ns_setformencoding |
Set the form encoding of the current connection |
| ns_sha1 |
Returns a 40-character, hex-encoded string containing the SHA1 hash of the first argument |
| ns_shortcut_filter |
Stop processing url filters |
| ns_shutdown |
Shut down NaviServer |
| ns_sleep |
Sleep for a specified number of seconds |
| ns_sls |
Socket local storage for connections |
| Ns_Sls} |
Socket local storage |
| ns_sockaccept |
Accept a new socket connection |
| ns_sockblocking |
Set socket blocking |
| ns_sockcallback |
Register a socket callback script |
| ns_sockcheck |
Check if a socket is connected |
| ns_socketpair |
Create a pair of connected sockets |
| ns_socklisten |
Create a new socket listening for connections |
| ns_socklistencallback |
Run script on connection |
| ns_socknonblocking |
Set socket nonblocking |
| ns_socknread |
Return bytes to be read |
| ns_sockopen |
Connect to a remote host on the specified port |
| ns_sockselect |
Determine readable file id's |
| ns_striphtml |
Remove HTML tags from a string |
| ns_symlink |
Create a symbolic link |
| ns_tagelement |
Find the value of an attribute in an HTML element. |
| ns_tagelementset |
Set the value of the value attribute in an HTML element |
| ns_thread |
Operate on threads |
| ns_time |
Perform various time-related functions |
| ns_tmpnam |
Generate a temporary file name |
| ns_truncate |
Truncate file in size |
| ns_upload_stats |
Return realtime statistic about being uploaded file |
| ns_url2file |
Return the path to a file referenced by a URL |
| ns_urlcharset |
Set the current connections url charset |
| ns_urldecode |
URL decoding |
| ns_urlencode |
Encode a string to its URL-encoded representation |
| ns_uudecode |
Binary-to-text decoding using "htuu" encoding |
| ns_uuencode |
Binary-to-text encoding using "htuu" encoding |
| ns_writecontent |
Write content to a file |
| ns_writer |
Manage files with writer thread |
| nsv |
NaviServer nsv Commands |
| OSSWEB |
Framework for developers |
| Support for .tcl-style dynamic pages |
Setting up a TCL error page |
| Template for new COMMAND |
One-line summary what the command does |