|
Posted by JackM on 01/11/07 00:25
NC wrote:
>>Is there a way to use PHP to read the date of a file that is uploaded
>>into a directory and then print out that date on another page?
>
> Yes:
>
> echo date('F, n, Y', filemtime('/texts/filename.pdf'));
Everything is coming up with a December 12, 1969 date when I use this.
Any idea why?
Navigation:
[Reply to this message]
|