You are here: To cange the last modidied date of a file « PHP Programming Language « IT news, forums, messages
To cange the last modidied date of a file

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]


Удаленная работа для программистов  •  Как заработать на 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

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