<?php if ($_POST) { require_once "../../API/CtripUnion.php"; $cu = new CU('hotel', 'OTA_UserUniqueID'); $rt = $cu->OTA_UserUniqueID($_POST, 'array'); echo "<meta charset='utf-8' />"; print_r($rt); } else { require "temp.html"; }