how to save info to mysql database

I want to know how to store information after upload to mysql database, like filename, filesize and server full path in mysql table with fields like this following :filename, filesize, fullpath.

i tried to look at tutorial and demo but i couldnt understand how to put the php script after upload event.



on php side:

try print_r($_FILES[“file”]);
it will shows you information usually transferred from client to server,
name => $_FILES[“file”][“name”]
size => $_FILES[“file”][“size”]

client not transfer full path for security reasons.

article in progress, we’re plan to publish it in our blog