// first create ka account then eto ung codes cheers
$username = "username";
$hash = "api key";
// Data for text message. This is the text message data.
$sender = "PATATAS"; // This is who the message appears to be from.
$numbers = "+63"; // A single number or a comma-seperated list of numbers
//need mo din na +63 hinde sya gagana kapag direct 09567123 bla bla
$message = "Mag balat ng patatas";
$message = urlencode($message);
$data = "username=".$username."&hash=".$hash."&message=".$message."&sender=".$sender."&numbers=".$numbers;
$ch = curl_init('You do not have permission to view the full content of this post.Log in or register now.
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch); // This is the result from the API
curl_close($ch);
echo $result;
// first create ka account then eto ung codes cheers
$username = "username";
$hash = "api key";
// Data for text message. This is the text message data.
$sender = "PATATAS"; // This is who the message appears to be from.
$numbers = "+63"; // A single number or a comma-seperated list of numbers
//need mo din na +63 hinde sya gagana kapag direct 09567123 bla bla
$message = "Mag balat ng patatas";
$message = urlencode($message);
$data = "username=".$username."&hash=".$hash."&message=".$message."&sender=".$sender."&numbers=".$numbers;
$ch = curl_init('You do not have permission to view the full content of this post.Log in or register now.
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch); // This is the result from the API
curl_close($ch);
echo $result;