Hello, and thanks for reading this. 🙂
I'm not very well aquainted with the use of cookies and sessions, so they may be a viable solution to the problem I'm having, and any insight to their implementation in this manner would be much appreciated. Now, onto the problem.
I want an array of objects passed from town.php to output.php. More technically, I just need the string they output with the Get_Info() function. My initial reaction was to create a file named "Militia.txt", dump the strings in there, and grab the same file from output.php. Then I realize that this file is not unique, and multiple instances of the program will cause data loss for earlier users (or data gain, technically).
So I come up with this brilliant idea to dynamically create new "<IPaddress>Militia.txt" based on, obviously, the user's IP, and then I would unlink them when I'm done.
So herein lies the problem, I don't know a whole lot about my server, but I do know that it will neither let me dynamically create files (using fopen) for writing with the "w" parameter, nor will it allow me to use chmod. So I assume it's windows. I did some searching on the boards, and it seems the common solution is to get to the apache config file, but I don't know how/don't know if I can.
Thanks. 🙂