Ns adp dir

From AOLserver Wiki
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_adp_dir.html


ns_adp_dir - Returns the current working directory for an ADP page




This command returns the current working directory of the current ADP page.
If this command is not called from inside an ADP page, in AOLserver versions prior to 4.0 it threw an error, in 4.0 it returns "/" and in 4.5+, it returns the value of ns_info pageroot.

Category Documentation - Category Core Tcl API