Answer the question
In order to leave comments, you need to log in
How to read .txt file on your server and pass information to LUA?
How to read .txt file on your server and pass information to LUA?
For example, to check for updates to the lua script.
1. Reading a .txt file on a website
2. Passing information to lua
3. Outputting information to lua
Answer the question
In order to leave comments, you need to log in
Website via php? If yes then look towards shell_exec with parameters . Let's say php > (ReadTxtFile -> shell_exec("lua sc.lua ")), inside lua
for i, v in pairs(arg) do print(i, v) end
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question