0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.191.223.177


Current Path : /var/www/html/sms/
Upload File :
Current File : /var/www/html/sms/sms_test.php

<?php

		$key = "hyCR3Tm7";
		$url = "https://api.onex-aura.com/api/jsmslist";

		$smsarry = [];
		$obj = 
		$modarru = ['9741089633','7353604921','9845842487'];
		foreach($modarru as $val)
		{
			$newaeet['from'] = 'PMSOLU'; 
			$newaeet['to'] = $val;
			$newaeet['body'] = 'Admissions Open at Harsha Institutions, Nelamangala, Bengaluru for B.PHARM, PHARM D, Bsc Forensic. Call/Wa.me/6360044840, website : www.harshainstitutions.com - PMSOLU';
			$newaeet['entityid'] =  '1701160750260327092';
			$newaeet['templateid'] = '1707171378710576060';

			array_push($smsarry,$newaeet);
		}

		//$pages_array[] = (object) array('key' => 'hyCR3Tm7', 'listsms' => $smsarry);

		$body = json_encode((object) array('key' => 'hyCR3Tm7', 'listsms' => $smsarry));
		var_dump($body);
		$ch = curl_init();
		curl_setopt( $ch,CURLOPT_URL, $url);            
		curl_setopt( $ch,CURLOPT_POST, true );
		curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
		curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
		curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
		curl_setopt( $ch,CURLOPT_POSTFIELDS, $body );
		$result2 = curl_exec($ch);
		//curl_close( $ch );

		$resjuno = json_decode($result2,true);
		print_r($resjuno);
		$resdata = $resjuno['data'];
	
?>