Navigation:  thinBasic Modules > CGI >

CGI_LoadConfigFile

Previous pageReturn to chapter overviewNext page

 

Description

 

Loads an alternative CGI configuration from a specified file.

 

Syntax

 

n = CGI_LoadConfigFile(sFile)

 

Returns

 

Returns a Number

A zero value if the function fails, nonzero in case of success.

 

Parameters

 

Name

Type

Optional

Meaning

sFile

String

No

Full path name of a configuration file

 

Remarks

 

If log is enable the new configuration is recorded into the log.

 

Restrictions

 

 

See also

 

CGI_CfgGetOption, CGI_CfgSetOption, thinBasicCGI.config, thinBasicCGI.log

 

Examples

 

CGI_LoadConfigFile("\Web\Web1\web1.xml")

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com