Ok, Then my next question is: How would I go about getting a date stamp and file size from uploaded files?
I need to have my auto-populated lists display the size and I especially need the date so I cann have it generate a "New" or "Updated" graphic if the matches the current month/year.
In my case the files already exist. I uploade them via FTP. So far my code looks like this:
$filename = $row["Filename"];
$folder = $row["Category"];
$title = $row["Title"];
$description = $row["Description"];
$cover = $row["CoverFilename"];
$new = $row["New"];
$filepath = "./download/" . $category . "/" . $filename;
$file_ext = strtolower(substr($filepath, strrpos($filepath,".")));
$file_size = $_FILES[$filepath]['size'];
$date = filemtime($filepath);
The output gives that number as noted above and the file size is ""