Posted by Steel on 01/20/06 13:03
Hi at all
it is the first time that I use PHP and I need only to modify the last
modified date of a file
I maked a FIRST little script like this:
$FileName="myfile.txt";
$Today =strtotime('2006-01-20 00:00:00');
touch($FileName,$Today)
It work
Now I want to add 24hours to the new last modified date without to know any
time what is the date but knowing that the last modified date must be always
have the time set to 00:00:00
I.e.:
How can I do?
Thank in advance
Regads
Steel
Navigation:
[Reply to this message]
|