tight i have tried what you said:
$last_mod = filemtime($file);
$tdate = date($last_mod);
but now the output is in this format - c707-b076
sorry to be ask again but can you give me more of a clue as you've probably
guessed - i'm a novice
thanks
--
PHP General
i am trying to find out when my files were last modified (accessing all
files on the server is not a problem)
to try and find this i am using: filemtime($file) - but this ruturns a
string - 1015171598
what is the format of the string? - are there ways to return the last
modified data in the fo
/*
what i'm trying to do is read the files and folders in the directory and
output them into an xml document - when i try to find the size of the file i
get an error - can someone please tell me why this is
thanks
mike
*/
// SCRIPT [dir.php]
";// open the folder tag and
put the folder n
the files in the directory
On Saturday 25 May 2002 02:01, _michael wrote:
> hi, i'm pretty new to php - i am trying to list/print a list of files and
> folders that are on my server:
>
> from my little knowledge i have got:
>
> $dir = "http://mysite.com/";;
&
hi, i'm pretty new to php - i am trying to list/print a list of files and
folders that are on my server:
from my little knowledge i have got:
http://mysite.com/";;
$handle = opendir($dir);
while (($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "- " . $file . "
5 matches
Mail list logo