[Top] [Prev] [Next] [Bottom]
[Contents]
SaSetHtmlDir
Sets the directory where Sapphire/Web-generated server application executables will look for HTML template files.
#include "SaRnHtml.h"
int SaSetHtmlDir(char* dirname);
Arguments
- dirname
- The directory path where the HTML template files are contained.
Return Values
Returns 0.
Sets the directory where a Sapphire/Web-generated server application looks to read in HTML template files. If dirname is NULL or an empty string, the CGI will look for HTML templates in its starting directory, which is determined by the http server and its configuration.
SaSetHtmlDir("/website/htmldir");
- Note: This call is generated automatically by Sapphire/Web in the cgi Main C file, with the
dirname
being the value of the HTML Test Path
project option.
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.