Q:

pls help : if isset not working in uploading multiple files

I tried to upload multiple files i used many scripts to upload it it's works fines but sometimes some files not upload i checked the problem 
i have a file that contain images when i select all images i don't get any response when click submit 
I just want it to say (hi) when i select all the files so that i can know it's reaching my code when upload.  
<? php  /* and also checked by : */

if (isset($_POST['btnsubmit'])) {  
    echo "hi"; 
}

/* it's not working when i select all the images in once and click submit to check */

if(isset($_FILES['files']['name'])) {  
    echo "Hii"; 
}  // it's not working when i select all the files            
? >

<html>
<head></head>
<body>
<form id="myForm" name="myForm" action="<?php echo $_SERVER['PHP_SELF']; ? >" method="post" 
    enctype="multipart/form-data"   >

    <table width="100%">
        <tr>
            <td>Select Photo (one or multiple):</td>
            <td><input type="file" accept="image/gif, image/jpeg, image/png" name="files[]" 
                multiple="multiple" required /></td>
        </tr>
        <tr>
            <td colspan="2" align="center">Note: Supported image format: .jpeg, .jpg, .png, .gif</td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="btnsubmit" 
                value="Submit" id="btnsubmit"/></td>
        </tr>
    </table>
</form>

</body>
</html>

A:

it's solved by adding 
exit;

to php code . 
thanks anyway .