• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

HTML5 Ini file require server to get loaded [SOLVED]

M

Mr EsKa

Guest
Hi, I'm making a html5 game and I have a problem with my included files.
When I use the function ini_open, the game asks the file to the game server but I want the game load or store the included files at the splash screen and then it don't need to make these requests to the game server.
 
Last edited by a moderator:
M

Mr EsKa

Guest
I had to use http_get_file at the beginning of the game.
Code:
http_get_file(working_directory + "filename.ini", working_directory + "filename.ini")
 
Top