The game engine as the scripting engine for lua 5.0 I am not sure if its single thread or multi thread tho, what you have asked should be possible though via the Lua side of things but I would of hoped they have there bin access the http via windows rather then Lua, I not sure how they do there multi player options someone else would have to tag in there but if we can assess them HTTP commands it would be useful.
But accessing your php that way in that kind of call would be as safe as any other way so if you have means to already do the call go for it
Autoplay Media Studios Lua Scripter, RPG Maker Creator, FPSC and now GG user.