flock and unix/apache
| From: | Matthew Luchak | Date: | Tue, 09 Apr 2002 18:37:11 +0000 |
| Subject: | flock and unix/apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92276@lists.php.net to get a copy of this message | ||
PHP 4.1.2
SunOS web-unix1 5.7
apache_1.3.22
I'm porting from WIN2000 to Apache/Unix and having problems with the flock() function. The
following :
$fd = fopen ($file, "r");
if (flock($fd, 2)) {
...........
}
"if" statement never returns true... any ideas?
____________________________
Matthew Luchak
Webmaster
Kaydara Inc.
mluchak@kaydara.com