Location: PHPKode > projects > WeBBind Web Gui to Bind > webbind_0.98/locking.php
<?

function FileLock()
{
 ignore_user_abort(true);
 $fl=fopen("/tmp/webbind.lock","a+");
 if ( $fl !=0 && flock($fl,2) ){
	return $fl ;
 }

}

Return current item: WeBBind Web Gui to Bind