<?php
set_time_limit(120);
include ("config_prova.php");
$mysqli = new mysqli ($host, $db_user, $db_psw, $db_name);
if(!$mysqli)
{
die ("Errore critico di connessione al database" . mysqli_error());
}
//print_r($_FILES); //stampa i dettagli del file <br>
$userfile_name = $_FILES['birdfn']['name'];
echo $userfile_name = $_FILES['birdfn']['name'];
echo "\n<hr>\n\n";
$qfileinseriti = $mysqli -> query('SELECT NOMFILE FROM tbfilebirdfn WHERE NOMFILE = '.$userfile_name.';');
$rfileins = mysqli_fetch_row($qfileinseriti);
$rowcount=mysqli_num_rows($qfileinseriti);
echo $rowcount;
?>