Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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));
}
?>
Comment

PREVIOUS NEXT
Code Example
Php :: xml to object php 
Php :: laravel created_at migration 
Php :: php get string between two strings 
Php :: Composer install : Your requirements could not be resolved to an installable set of packages 
Php :: PHP strncmp — Binary safe string comparison of the first n characters 
Php :: get page name wp 
Php :: laravel not finding asset files in public directory 
Php :: laravel carbon human readable 
Php :: get last two numbers from int php 
Php :: wordpress debug true 
Php :: laravel check if form has errors 
Php :: php loop through string 
Php :: while loop in laravel 
Php :: php echo and array to consle 
Php :: run php server mac 
Php :: find string in text in laravel 
Php :: laravel destroy session 
Php :: laravel singular 
Php :: 2 chiffres apres virgule php 
Php :: laravel access controller method from another controller 
Php :: magento colloction query 
Php :: laravel faker car plate br mercossul 
Php :: how create new command in laravel 
Php :: php remove space before and after string 
Php :: add 30 minutes to time in php 
Php :: date add one day php 
Php :: Morocco 
Php :: is_array php 
Php :: persian error laravel 
Php :: php create Hmac sha256 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =