file_touch (string file[, integer time]) ⇒ boolean
'Touches' a file, setting its modification time to the current time. Optionally takes a time parameter to set it to.
First available: Version 1.9.13
Notes
This function works identically to the Linux/Unix-like operating system touch feature that touches a file to set the time to a specified time. With the ZPE implementation, it gets the current time and sets the file modification time to that, thus making it cross compatible with Windows operating systems.

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you.
Comments powered by BalfComment