GetProfileSections
i have looked @ little on new cf tags getprofilesections , getprofilestring.
the more have looked @ tags more confused have been.
what purpose of these tags?
i thinking of create setup.ini file containing setup features of application. including database parameters, file locations etc.
but found out tags must have absolute path inifile. means have hardcode location of inifile in application. think takes sweetness away of using inifile setup file.
what read ini files?
best regards,
morten kruse
the more have looked @ tags more confused have been.
what purpose of these tags?
i thinking of create setup.ini file containing setup features of application. including database parameters, file locations etc.
but found out tags must have absolute path inifile. means have hardcode location of inifile in application. think takes sweetness away of using inifile setup file.
what read ini files?
best regards,
morten kruse
i solved problem in way:
<cfset cur_dir = getdirectoryfrompath(gettemplatepath())>
<cfset inifil = getprofilesections("#cur_dir#\test.ini")>
<cfset cur_dir = getdirectoryfrompath(gettemplatepath())>
<cfset inifil = getprofilesections("#cur_dir#\test.ini")>
More discussions in Advanced Techniques
adobe
Comments
Post a Comment