hello i used this code to get uploaded file name in file upload form action.
**<?php
include("includes/function.php");
connectme();
#error_reporting(0);
$filename = $_FILES[image][name];
$time=time();
if (move_uploaded_file($_FILES['image']['tmp_name'], 'files/' . $_FILES['image']['name'])) {
mysql_query("INSERT INTO files SET link='".$filename."', timez='".$time."'");
echo "Successfully Uploaded..! <br/><input name=\"myUploadedLink\" value=\"files/$filename\">";
} else {
echo 'Error in file upload.';
}
?>**
i tried using 'image' 'name'
but $filename dosent seem to be able to get the file name to insert into the databsse