$userEmail = $obj->{'email'};
                $fullName = $obj->{'fullName'};
                $password = $obj->{'password'};
                $createdDate = $obj->{'createdDate'};
                $phone = $obj->{'phone'};
                $address_name = $obj->{'address_name'};
                $address_company_name = $obj->{'address_company_name'};
                $address_address = $obj->{'address_address'};
                $userInfo->id = $id;
                $userInfo->email = (string) $userEmail;
                $userInfo->fullName = (string) $fullName;
                $userInfo->password = (string) $password;
                $userInfo->encryptedPassword = md5($userInfo->password);
                $userInfo->createdDate = $createdDate;
                $userInfo->phone = $phone;
                $userInfo->address_name = $address_name;
                $userInfo->address_company_name = $address_company_name;
                $userInfo->address_address = $address_address;
                $userInfo = $userInfoDao->Modify($userInfo);
                $response = array($userInfo);
                $userInfo->success = 1;
            } else {
                $response[] = array('success' => '0', 'message' => 'Invalid tag.');
            }
        }
    }
    header('Content-type: application/json');
    echo json_encode(array('posts' => $response));
} catch (Exception $ex) {
    throw new Exception($ex->getMessage());
}