CasperSecurity

Current Path : /var/www/devatraket.uiet.co.in/devatraket/v1.0/api/request/location/
Upload File :
Current File : /var/www/devatraket.uiet.co.in/devatraket/v1.0/api/request/location/location_dropdown_api.php

          <?php
session_start();


include '../../connection/connection.php';
	
$db_handle = new DBController();
$select=$db_handle-> runQuery("SELECT * FROM  location_utm_side_a");

$db_handle = new DBController();

$selectnum=$db_handle-> numRows("SELECT * FROM  location_utm_side_a");
 $last_row = $selectnum - 1;
if($selectnum >= 1){

		
		
		echo '{"status": "1",
		
	
		"data":[';
	
		$i =1;
         foreach($select as $result){
			 
			 
	$utm_side_a_name = $result['utm_side_a_name'];
	
	
			 echo'
			 {
			 
			"utm_side_a_name":"'.$utm_side_a_name.'"
			
			}';
			if($i <= $last_row){
						echo ',';
					}
			 $i++;
		
		 }
		echo'
			]}';
		
	}else{
		
		echo '{"status": "0",
			"message":"Page Not found"
			}';
	
}
?>
 



			
			
				
			
			
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY