C
C
cheremuxatop2020-01-18 23:53:36
Lua
cheremuxatop, 2020-01-18 23:53:36

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

1 answer(s)
V
Vadim Ushakov, 2021-10-16
@Nightmare1

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 question

Ask a Question

731 491 924 answers to any question