Re: Check for open file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-03-04 at 09:55 -0500, Daniel Brown wrote:
> On Thu, Mar 3, 2011 at 14:59, Ashley M. Kirchner <ashley@xxxxxxxxxx> 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/
> 

Depending on the size of the file, wouldn't this fall under the 2gb
limitation on windows 32bit OS?  I ran into this problem on a project I
was working on, and ended up switching to Python (but that is a WHOLE
other conversation)

just food for thought, since I am not sure of the size of files they are
dealing with.

Steve


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux