Oh I understand now.  There is a different between fileatime(), filectime()
and filemtime(), with a letter 'a', 'c' or 'm'...  The one with the m is
what work with Unix/Linux..

Scott F.

"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I saw the article at http://us2.php.net/manual/en/function.fileatime.php
and
> gave it a shot with the timestamp for the file but it doesn't work
correctly
> because it only returned the current timestamp (as it is from our watch or
> clock) but not the one from the file...
>
> I had verify that the file is correct and that the date() is working
> correctly and that the timeatime() is working correctly if they are tested
> independantly, so it is just putting them all three together cause them
not
> to work right...
>
> --snip--
> $current_filename = "test.pdf";
> echo (date('F j, Y, h:i a', (fileatime($current_filename))));
> --snip--
>
> What did I do wrong??
>
> Scott F.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to