Move_uploaded_file($_FILES'file''tmp_name', $upload_dir. '/'. $filename) I would suggest adding something like the following after the previous mentioned line: $size = filesize($upload_dir.'/'.
$filename); $path = $upload_dir. '/'. $filename; mysql_connect(YOUR_HOST, YOUR_USERNAME, YOUR_PASSWORD); mysql_select_db(YOUR_DATABASE); mysql_query('INSERT INTO your_table SET filename=$filename, size=$size, path=$path').
Move_uploaded_file($_FILES'file''tmp_name', $upload_dir. '/'. $filename); I would suggest adding something like the following after the previous mentioned line: $size = filesize($upload_dir.'/'.
$filename); $path = $upload_dir. '/'. $filename; mysql_connect(YOUR_HOST, YOUR_USERNAME, YOUR_PASSWORD); mysql_select_db(YOUR_DATABASE); mysql_query('INSERT INTO your_table SET filename=$filename, size=$size, path=$path').
Thanks! That did the trick! I do have a follow-up question.
Any idea how I can get the type of size, like kb, md? Thx! – KPO Jul 18 at 16:15 1 filesize returns the size in bytes.
– Sascha Galley Jul 18 at 16:17.
I would suggest adding something like the following after the previous mentioned line.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.