Answers for "php get file properties modified"

PHP
1

php get remote file last modified

<?php
// outputs e.g.  somefile.txt was last modified: December 29 2002 22:16:23.

$filename = 'somefile.txt';
if (file_exists($filename)) {
    echo "$filename was last modified: " . date ("F d Y H:i:s.", filemtime($filename));
}
?>
Posted by: Guest on March-04-2020
0

which is file attributes in php

ATTRIBUTE					DESCRIPTION
  [name]					Name of the which is uploading
  [size]					Size of the file
  [type]					Types of the file (like .pdf,.zip,.jpeg....etc)
  [tmp_name]				A temporary address where the file is located before processing the upload request
  [error] 					Types of error occurred when the file is uploading
Posted by: Guest on December-21-2020

Code answers related to "php get file properties modified"

Browse Popular Code Answers by Language