[thelist] PHP touch function

**1st Vamp** wes at pmason.karoo.co.uk
Sun Jul 6 05:59:39 CDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5

Yes, the optional "time" parametre for the function will set the modified time to
any value you give it.

e.g.

$file = './test';
$time = mktime(0,0,0,3,0,2004);
touch($file,$time);


- --
1stVamp
(Wesley Aaron Mason)

[ Site at somewhere :: http://1stvamp.org/ ]
[ Webcomic from nowhere :: http://gfbowl.com/ ]

Sunday, July 6, 2003, 12:56:28 AM, Daniel Fascia wrote:

> Is it possible to use the touch() function in PHP to modify the last
> modified time to a date in the future?

-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQINAwUAPwgBH+tR7En81eJTAQENeQ+5AXyjVVavHq5OlSkgMpb71c4rgE4otNH8
zc2g/iHaZeA4GPiJsB7SV482TalrCsD01V9DMo8B8C7uTKA1opL7hTr4nOM+K/1x
K4gLEa59uXrm3rNc0aXLFSUk90sMQaUBsQ1Wu6oNcMbaL73Fo/hfYPUXvkvL7qM7
pcaLEAu5IloMFho5vvungmso4xeOlaCN7YgEri8oDj3GzE/SjHOl65A+Tc71HMDU
sSKyAX1sk9+PYz1/4V6TXGJL2qGC/aURXvGdFiSkaK2pDikg7PJP8CtfumRAE81e
dVj6TzQEDcZQLoA0S+cWY/2HHm45zoyzSAGJdH+5PNJeUv9MAGmUW40QcwrYyiQQ
dV4GLgsKulvh4SezTJELBtKTh6YdnFwp18/iguNVD3s1lMTrqMtKKMy/q2IfJ/De
f44BSTlaTlR5DKClEEGgauHpLPQ0+DYQxspP4rMyhZ8LJCohOjeMZtOzQX/4vjoX
pW+ksPvoBbG2pbFxriXMh5M54E5PzfDlGpPet3XfdYcrK0N4WCKsJfwZNLCjE9Gr
QSFHqxgi4bpbPypNFIJ6JJnuMAK1ZW6AitaKjjwRv1ozDsThaTLVnL18Xp21fHQU
zbGIm7hoS3F/cxCpRPqjWU27nQq2G7Vv2TGkYdYjjV1SeSeG4gM08rqZ1emmkxzK
=XYzv
-----END PGP SIGNATURE-----



More information about the thelist mailing list