AMS PHP Integration Example