[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_UrlIsDir

Overview

Check if a directory that corresponds to a URL exists

Syntax

    int Ns_UrlIsDir(
    	char *hServer,
    	char *URL
    );

Description

The Ns_UrlIsDir function constructs a directory name by appending the URL to the current AOLserver pages directory for the specified virtual server. It returns 1 if the directory exists.

Example

See the example for Ns_UrlIsFile.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.