PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
mlecho
Forum Commoner
Posts: 53 Joined: Wed Feb 02, 2005 9:59 am
Post
by mlecho » Wed Jun 27, 2007 7:40 am
hi all...i know you can get date modified of files with filemtime but can you do something similar with folders. More so, date created/???
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Wed Jun 27, 2007 7:46 am
Have you tried filemtime() with a directory path as parameter?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Jun 27, 2007 7:47 am
I don't recall the native functions having access to that information.
mlecho
Forum Commoner
Posts: 53 Joined: Wed Feb 02, 2005 9:59 am
Post
by mlecho » Wed Jun 27, 2007 9:47 am
yeah....it's not....so, any ideas on how to script something that can find this on a folder? i am sure there is a workaround, no?
mlecho
Forum Commoner
Posts: 53 Joined: Wed Feb 02, 2005 9:59 am
Post
by mlecho » Wed Jun 27, 2007 10:06 am
volka- it could be my script...but it does not work for folders....
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Wed Jun 27, 2007 10:12 am
mlecho wrote: More so, date created/???
First you need a filesystem that stores that kind of information. I know ntfs does and ext2/3 does not.