"Basically what you should do is host your PHP file on your own web server...." It is possible. But, "on my own web server" I can host the game itself. But why then do I need ITCH.IO? For monetization only?
BrookyTest
6
Posts
4
Topics
A member registered Oct 06, 2019 · View creator page →
Creator of
Recent community posts
itch.io Community » itch.io » Questions & Support · Replied to William O'Connell in Does itch.io support PHP ?
itch.io Community » itch.io » Questions & Support · Replied to William O'Connell in Does itch.io support PHP ?
William, grateful for any idea!
Leo.
iIndex.php?data=UserLeonFinishedScene1
iIndex.php :
<?php
echo 'I will write UserData to user.log <br />';
$filename = 'user.log';
$text = "\r\n Date:". date('Y-m-d\=H:i:s') . "Data :" . $_GET["data"];
//Writing:
$file = fopen ($filename, "a");
fwrite ($file,$text);
fclose ($file);
echo "UserData was writed successfull to file [$filename] !<br/><br/>";
?>
itch.io Community » Game Development » General Development · Created a new topic Where is better to place stat file?