SOLVED How to get players to access an INI file from the internet?


I'm trying to do something a bit strange with Game Maker, and I'm not sure if it will work.
Basically, I want to be able to make an INI file, host it somewhere, and have the game read from the online version. Then I could update the file, and the values shown in the game would change to reflect it.
I feel like this would also be useful for detecting game updates, and displaying the version number by reading from the file.
Is this possible? If so, how?

I would imagine I'd have to host the file and access it somehow, but I have no idea on how to go about doing that. Any help is greatly appreciated.


This is a bit tricky one. You have two options.

Game Maker has http_get, and http_post and http_get_file functions. You can first download the .ini file via http_get_file and also update that file by using http_post. (This post request may have all the details of your .ini, packed in a string. You also need to have a webserver, and setup a webpage that can handle your string and save it on host as an .ini file)