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

i solved problem in way:

<cfset cur_dir = getdirectoryfrompath(gettemplatepath())>
<cfset inifil = getprofilesections("#cur_dir#\test.ini")>


More discussions in Advanced Techniques


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support