Re: Check for open file
| From: | Daniel Brown | Date: | Fri, 04 Mar 2011 14:55:02 +0000 |
| Subject: | Re: Check for open file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311664@lists.php.net to get a copy of this message | ||
On Thu, Mar 3, 2011 at 14:59, Ashley M. Kirchner <ashley@pcraft.com> wrote:
>
> Can PHP detect this, or should I look into some delayed
> process of checking the file's modified time stamp versus current time and
> not touch the file till a certain threshold has been reached (say 30 seconds
> difference?).
Give the native stat() function a spin:
http://php.net/stat
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/