We provide a HK mobile number (no SIM card) to you to receive SMS. 


Report format:

Email Format

API format (provided by client)

- you need to setup an API (HTTP-POST) as below and give to me

http://www.yourcompany.com/receivesms.php

<?
$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;
}  
you could save result to a log file

<?
$results = print_r($_REQUEST, true);
writelog($results);

function writelog($results)
{
global $appname;
$fp = fopen('./log.txt', 'a+');
fwrite($fp, $results);
fclose($fp);
}
?>