phpConnnect and connect.lua