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.146.178.220


Current Path : /var/www/html/admission/src/
Upload File :
Current File : /var/www/html/admission/src/studDoc.php

<?php
    function getStudDoc($aobj_context){
        $univcode = $aobj_context->mobj_data["univcode"];
        $fregno = $aobj_context->mobj_data["fregno"];
        
        $query = "select ifnull(faadhaarpath,'') as faadhaarpaths,
        ifnull(ftenpath,'') as ftenpaths,
        ifnull(ftwthpath,'') as ftwthpaths,
        ifnull(ftcpath,'') as ftcpaths,
        ifnull(fmigpath,'') as fmigpaths,
        ifnull(fugpath,'') as fugpaths,
        ifnull(fstdpicpath, '') as fstdpicpath
        from adm_stud where fappno = '{$fregno}'";

        $result = $aobj_context->pobj_db->GetRow($query);

        if($result){
            echo $aobj_context->mobj_output->ToJSONEnvelope($result, 0, "success");
            return;
        }else{
            $arr['msg'] = "No Documents Uploaded";
            echo $aobj_context->mobj_output->ToJSONEnvelope($arr, -1, "failure");
            return;
        }
    }  
?>