mod: read a file present in a different PC

Post Reply
mirko.ventulini
Member
Posts: 18
Joined: Thu Apr 06, 2017 20:41
GitHub: mirkov
IRC: mirkov
In-game: mirkov

mod: read a file present in a different PC

by mirko.ventulini » Post

Hello, I have written a mod that shows a restaurant menu and allows players to order something. The order of players now is stored in a local file. I would like to save the order of players in another PC. In the second PC now apache server is running. From the PC running minetest, by a browser, I can open the file present in the second PC with apache running, but when I try to open it by minetest, it is not recognized...

local var_file = io.open("http://192.168.159.107/tavolo1.txt", "a");

Can you help me?

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests