array( "method" => "POST", "header" => "Content-type: application/x-www-form-urlencoded", "content" => $params ) ); $stream_context = stream_context_create($opts); $response = file_get_contents("https://developer.smoovpay.com/access", false, $stream_context); if ($response != false) { if (strcasecmp($response, "VALID") == 0) { // STR matched } else if (strcasecmp($response, "INVALID") == 0) { // STR does not matched } else { } } else { } } ?>
