client/SecretStore.class.php
//write $string to $fp in as many chunks as it takes. returns true if the entire string was written, false otherwise 
write $string to $fp in as many chunks as it takes. returns true if the entire string was written, false otherwise
write $string to $fp in as many chunks as it takes . returns true if the entire string was written false otherwise
protected static function write($fp, $string)
	{
		for($written=0;$written<strlen($string);$written+=$fwrite)
			if(($fwrite=fwrite($fp, substr($string, $written)))===false)
				return false;
		return true;
	}
protected static function write ( $ fp , $ string ) { for ( $ written = 0 ; $ written < strlen ( $ string ) ; $ written += $ fwrite ) if ( ( $ fwrite = fwrite ( $ fp , substr ( $ string , $ written ) ) ) === false ) return false ; return true ; }
write $string to $fp in as many chunks as it takes.
write $string to $fp in as many chunks as it takes .