Hey Rich,
> > 1) read the files from a directory, discard the
> files
> > with a .php extention and the directories (eg: .
> and
> > .. )
> >
> > 2) put the files into an array ($the_files[])
> >
> > 3) put it into a while loop and display the files
> like
> > so:
>
> //Only do files over 2 hour
database.
Jef
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 2:38 PM
To: php php
Subject: [PHP] Mktime formatting problems
Hey,
So far this is what I have done:
-
1) read the files from a directory, discard the files
On Thu, May 11, 2006 3:37 pm, Ryan A wrote:
> So far this is what I have done:
> -
> 1) read the files from a directory, discard the files
> with a .php extention and the directories (eg: . and
> .. )
>
> 2) put the files into an array ($the_files[])
>
> 3) put it into
Hey,
First, thank you Eric and Stut, your answers and this
article that I found on the web
http://www.phpbuilder.com/columns/akent2610.php3?print_mode=1
put my mind back on the right tracksometimes its
so damn silly how things you use for ages suddenly get
"muddled" up in the head.
Thank
On 5/11/06, Ryan A <[EMAIL PROTECTED]> wrote:
Hey,
So far this is what I have done:
-
1) read the files from a directory, discard the files
with a .php extention and the directories (eg: . and
.. )
2) put the files into an array ($the_files[])
3) put it into a whil
Ryan A wrote:
echo $the_files[$i] . date("F d Y H:i:s.",
filectime($directory_with_files.$the_files[$i]));
The next step is, I want to only echo the files that
are over x minutes (or x hours) old, ignore anything
below, I am using mktime() along with date() to format
it accordingly...but am unab
Hey,
So far this is what I have done:
-
1) read the files from a directory, discard the files
with a .php extention and the directories (eg: . and
.. )
2) put the files into an array ($the_files[])
3) put it into a while loop and display the files like
so:
echo $the
7 matches
Mail list logo