我們提供一個香港號碼給你接受短信。支持網頁 / 接口 / 郵件

郵件樣本

接口接收

<?
$sender = $_REQUEST ["sender"]
$receiver = $_REQUSET ["receiver"]
$time = $_REQUEST ["time"]
$message = $_REQUEST ["message"]

/?>

OR $results = print_r($_REQUEST, true);

** received chinese content needs to be converted to UTF8

function hexToStr($hex)
{
 // hexdecimal to utf8 string
 $string='';
 for ($i=0; $i < strlen($hex)-1; $i+=4)
 { 
 $string .= mb_convert_encoding("",'UTF-8', 'HTML-ENTITIES');
 }
 return $string;
}  
<?
$results = print_r($_REQUEST, true);
writelog($results);
function writelog($results)
{
global $appname;
$fp = fopen('./log.txt', 'a+');
fwrite($fp, $results);
fclose($fp);
}
?>