server php for remote triggers