Search the Community
Showing results for tags 'touch'.
Found 1 result
Im running a site and have a problem. Visitors can download sermons and can see when the sermon was preached. The problem is that everytime I upload a sermon I have to mannually insert the date of the file into the code. Even if I manually edit the date of the file (last modification date) on my pc. When I upload the file to the server it automatically takes on the current date. I tried the touch function and filemtime function but to no avail. The time keeps ticking and is not static. The whole idea is that I change the modification time on my pc and just upload the sermon and then on the server through code get the time the file was last modified. And that would be the date the sermon was preached.