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 : 3.145.85.123


Current Path : /var/www/html/collportal_new/src/
Upload File :
Current File : /var/www/html/collportal_new/src/uploadphotoofstud.php

<?php
    function cgetuploadList($aobj_context){
       $univcode = $aobj_context->mobj_data["univcode"];
       $type = $aobj_context->mobj_data["type"];
       $collcode = $aobj_context->mobj_data["collcode"];
       $degree_code=trim($aobj_context->mobj_data["degree_range"]);
   

 $query="SELECT IFNULL(d.fdegree,'')AS degree ,IFNULL(d.fdescpn,'') AS desp
 FROM degree d 
 INNER JOIN colldeg c ON d.fdegree=c.fdegree WHERE fcollcode='{$collcode}'";


   $result = $aobj_context->mobj_db->getAll($query);

      if($result){
		echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); 
      }else{
        $arr['msg']='Failed to Load';
		echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"failure");
        return;
      }
                   
}

function uploadstudentdet($aobj_context){
  $univcode = $aobj_context->mobj_data["univcode"];
  $collcode = $aobj_context->mobj_data["collcode"];
  $degree= $aobj_context->mobj_data["dept"];
  $regNoStart=$aobj_context->mobj_data["regNoStart"];
  // var_dump($regNoStart);
  // die(); 
 $regNoEnd=$aobj_context->mobj_data["regNoEnd"];
//  var_dump($regNoEnd);
//  die();

 $status=$aobj_context->mobj_data["status"];


  $query1="select s.fregno as FREGNO,s.FPHOTOPATH,s.FDEGREE,s.FNAME, c.FUNIVCODE from student s, control c 
	where s.fcollcode = '{$collcode}' and s.fdegree ='{$degree}'
	and s.fregno between '{$regNoStart}' and '{$regNoEnd}' 
	order by s.fregno  
  ";   
  // var_dump($query1); 
  // die();              
   
 
$result = $aobj_context->mobj_db->getAll($query1);
 var_dump($result); 
  die();
       

if($result){
echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); 
}else{
  $arr['msg']='Failed to Load'; 
echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"failure");  
  return; 
}
          
}

?>