I have a folder named convert_requests.
This is the problem i have..I want to run a php that will look for all the files in the folder convert_requests.
If the difference between creation time of file and the present time is more than 7 days, i want to move the file to another folder.
i have seen the function filemtime but it shows only the last modified time not the creation time.
Can someone help me with this?
Thanks in advance
file moving problem
Moderator: General Moderators
Re: file moving problem
File creation time is a Windows invention. It isn't present on Unix systems.
As such, PHP doesn't have a way of telling you that.
In a lot of cases, creation time and modification time are the same. Have you considered that?
As such, PHP doesn't have a way of telling you that.
In a lot of cases, creation time and modification time are the same. Have you considered that?