//new [{"sts":true,"msg":"Successfully uploaded","1":null,"2":null,"3":null}] //------------------- Old // header("Access-Control-Allow-Origin: *"); // header("Content-Type: application/json"); // header("Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTION"); // header("Access-Control-Max-Age: 3600"); // header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"); // $to = 'timothi.timothi@gmail.com'; // // subject // $postdata = file_get_contents('php://input'); // $data = json_decode($postdata); // $Name = $data->Name; // $Email = $data->Email; // $Message = $data->Message; // // echo $Name; // $subject = 'Order List Check'; // $message = '
Name | //: | //'.$Name.' | //
: | //'.$Email.' | //|
Message | //: | //'.$Message.' | //