Ugh, I wrote out a reply half a dozen times and clicked Reply and it disappeared. Anyway:
I have included the php and ini files for anybody curious as to what they look like.
I am writing files to the server using fwrite(), and am wondering if that will work, and where the files will show up. In a server environment that I'd be familiar with, they would show up in the same directory as the script. But here I'm confused as to where anything is located. Will it show up in resources? templates? Also, any html files that I generate aren't really in a ModX "format", if that's the right way to say it. They're just stand-alone html pages. Is this going to work the way I'm trying it?
The way I'm doing it makes sense in regards to the project, as far as I see it. The client wants to be able to edit the html pages using a visual editor and be able to see the data from the ini file--in this case, team names for their softball league. The client wants to be able to add scores to the page after-the-fact. If I generated the pages dynamically, the client couldn't see the team names when they are adding their scores. They would only show up when the page is viewed live, and the names have been added by the server.
I will try what BobRay said in regards to how to reference the location of the ini file.
Thank you very much for the help and any additional help coming.
Here is how a page should look when generated by the script:
http://www.ecyberdeck.com/championscup.org/index.php?id=1