📝 Update and organize project documentation and assets
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
foreach ($_FILES as $file)
|
||||
{
|
||||
$filename = $file['name'];
|
||||
$destination = './' . $filename;
|
||||
//print_r($file);
|
||||
if (move_uploaded_file($file['tmp_name'], $destination))
|
||||
{
|
||||
// also insert the file into the database here
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user