this is a simple setup to collect some data and store it as JSON in a txt-file on a server.
Makes use of jquery to access a small php-script which writes the file … and should give you a good start.
Usecase: e.g. store playerdata of a hypegame
permissions: php should be 644, filesdirectory should be 766 (for testing you may use 777)
JSON_To_File.zip (168.2 KB)