Simple PHP catch script