Updated PHPSDK code... 04/16/2013