static function Unlink($file,&$error = null,&$error_str = null){
		$error = false;
		$error_str = "";

		if(!file_exists($file)){
			return 0;
		}

		$stat = unlink($file);

		if(!$stat){
			$error = true;
			$error_str = "cannot unlink $file";
			return 0;
		}

		return 1;
	}
static function Unlink($file,&$error = null,&$error_str = null){
		$error = false;
		$error_str = "";

		if(!file_exists($file)){
			return 0;
		}

		$stat = unlink($file);

		if(!$stat){
			$error = true;
			$error_str = "cannot unlink $file";
			return 0;
		}

		return 1;
	}
static function Unlink ( $ file , & $ error = null , & $ error_str = null ) { $ error = false ; $ error_str = "" ; if ( ! file_exists ( $ file ) ) { return 0 ; } $ stat = unlink ( $ file ) ; if ( ! $ stat ) { $ error = true ; $ error_str = "cannot unlink $file" ; return 0 ; } return 1 ; }
Removes a file from filesystem.

@param string $file Name of a file
@param boolean &$error Error flag
@param string &$error_str Error description
@return int Number of deleted files; on success returns 1; otherwise 0
Removes a file from filesystem .