Reference

ns_url2file(3aolserver)

commands


        
    

    
        

NAME

ns_url2file - commands

SYNOPSIS

ns_url2file URL


        
    


        

DESCRIPTION

This function returns the file or directory corresponding to the specified URL. The file returned is located in the "pages" directory on the current virtual server.

EXAMPLE

This is especially useful when using the ns_adp_include command.

<% ns_adp_include [ns_url2file /include/myfile.inc] %>

SEE ALSO

ns_adp_include(n)

KEYWORDS