Is it possible to save the filename to a mysql database usin

Hi,



Your tools look very sharp and I’m looking into several of them for an upcoming project. I’ve been looking for a multiple file uploader and vault looks great, however, I need to save the file name to a mysql database as well using php. Do you have a script or extension of this one that will allow me to insert the filename, and possibly other fields from the upload form to the database?



Thanks,



Tony


Hi,



You can add a few lines of code in this script (UploadHandler.php), to save the path in the database:




if(move_uploaded_file($tempLoc,$target_path))
{
        $_SESSION[‘value’] = -1;
        save_to_db($target_path);
}




function save_to_db($target_path)
{
     …
}