oh, i see, check out the copy() function at php.net
these are ways to get information about the file to upload
and in the copy function you set the path name
then grab the path name and filename together and insert that
into the database
$name = $filetoupload_name; //name and path of file
$size = $filetoupload_size; //size of file
$type = $filetoupload_type; // type of file