ID:               11828
 Comment by:       mozz at cwcom dot net
 Reported By:      "Hot Soon" <princeali at 263 dot net>
 Status:           Closed
 Bug Type:         Filesystem function related
 Operating System: Windows 98 SE
 PHP Version:      4.0.6
 New Comment:

Yes, windoze does support file locking, but has an overlap based
mechanism, rather than a byte region one (UNIX). Use the LockFile,
LockFileEx and UnlockFile functions.


Previous Comments:
------------------------------------------------------------------------

[2001-08-02 16:19:35] [EMAIL PROTECTED]

i don't believe win32 can use flock, but anyway no user
feedback.  closing...

------------------------------------------------------------------------

[2001-07-02 06:09:33] [EMAIL PROTECTED]

CGI or server module ?

------------------------------------------------------------------------

[2001-07-02 03:56:12] [EMAIL PROTECTED]

Does Win32 implement flock()??
That might be why it doesn't do anything...
--Wez.


------------------------------------------------------------------------

[2001-07-02 02:55:38] [EMAIL PROTECTED]

Please provide a short reproducing script.

------------------------------------------------------------------------

[2001-07-01 21:38:39] "Hot Soon" <princeali at 263 dot net>

Both flock($fp,1) and flock($fp,2) always return false.
It makes flock() a useless function.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=11828&edit=1

Reply via email to