Sample PHP worker script