Reply to Re: Date Auto-Update on Save Dreamweaver/PHP

Your name:

Reply:


Posted by NC on 04/05/06 19:06

Andy Jeffries wrote:
> On Tue, 04 Apr 2006 20:47:10 -0700, NC wrote:
> >
> > Why bother? Just use the file system functions:
> >
> > $saved_date = date('F j, Y', filectime(__FILE__));
>
> But you probably want to use filemtime not filectime.

You're right... Where was my head? :)

> The date of the last save, not the date the file was created on.

On this one, though, I think you're a bit off... On most Unix systems,
there is no such thing as file creation time. There is only the time
of last file change; a file is considered changed when its inode data
(permissions, owner, group, etc.) is changed.

Cheers,
NC

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация