On Sat, Mar 17, 2012 at 6:03 PM, Aaron J. White <[email protected]> wrote:
> Hello Alan, > > Thanks for the reply. Didn't even know that function existed. It is > close, but I want to make the application where the user can literally > just plop the files in their web root and it just works. Don't want > the user to have to worry about moving the .ini file or selecting a > different folder as the root. I don't understand why they'd have to do that in this scenario? Nothing about that function dictates where the file is and using ExpandPath to point to the webroot or any directory underneath it you could put the file wherever you want. I'm just missing why you think they'd have to move it. You could have a file like that in a config directory in the application's directory and grab that. > The settings/config file will hold > passwords, etc. The GetProfileSections function also seems to only > work on App load like my current solution. > I must be missing something here too--you can call that function whenever you want ... -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
