any other solution for getting file modification date using ftp function
A:
As of PHP 5.1, you can just use filemtime()
with a valid ftp://...
file path.
Example:
$user = 'peter';
$password = 'secret123';
$mtime = filemtime("ftp://$user:[email protected]/some_file.txt");
too much php
2009-08-21 05:41:50
pls give example
2009-08-21 05:51:58