i have a file ( get_photos.php ) normally when i paste the url (http://localhost/web/inc/get_photos.php ) in my browser i think it should display all pictures exist in a directory named ( uploads ) . but unfortunately it display an error:
Notice: Undefined index: bill in C:\xampp\htdocs\innotech\inc\get_photos.php on line 2 File not uploaded successfully.
this is the code of get_photos.php
<?php
    if (is_uploaded_file($_FILES['bill']['tmp_name'])) {
        $uploads_dir = '../uploads/';
        $tmp_name = $_FILES['bill']['tmp_name'];
        $file_name = $_FILES['bill']['name'];
        move_uploaded_file($tmp_name, $uploads_dir.$file_name);
    }else{
       echo "File not uploaded successfully.";
    }
?>
can someone tell me what is "bill" and "tmp_name" means ?? and how i can solve the problem
