public function get_zip()
	{
		// Is there any data to return?
		if ($this->entries === 0)
		{
			return FALSE;
		}

		return $this->zipdata
			.$this->directory."\x50\x4b\x05\x06\x00\x00\x00\x00"
			.pack('v', $this->entries) // total # of entries "on this disk"
			.pack('v', $this->entries) // total # of entries overall
			.pack('V', strlen($this->directory)) // size of central dir
			.pack('V', strlen($this->zipdata)) // offset to start of central dir
			."\x00\x00"; // .zip file comment length
	}
public function get_zip()
	{
		// Is there any data to return?
		if ($this->entries === 0)
		{
			return FALSE;
		}

		return $this->zipdata
			.$this->directory."\x50\x4b\x05\x06\x00\x00\x00\x00"
			.pack('v', $this->entries) // total # of entries "on this disk"
			.pack('v', $this->entries) // total # of entries overall
			.pack('V', strlen($this->directory)) // size of central dir
			.pack('V', strlen($this->zipdata)) // offset to start of central dir
			."\x00\x00"; // .zip file comment length
	}
public function get_zip ( ) { // Is there any data to return? if ( $ this -> entries === 0 ) { return FALSE ; } return $ this -> zipdata . $ this -> directory . "\x50\x4b\x05\x06\x00\x00\x00\x00" . pack ( 'v' , $ this -> entries ) // total # of entries "on this disk" . pack ( 'v' , $ this -> entries ) // total # of entries overall . pack ( 'V' , strlen ( $ this -> directory ) ) // size of central dir . pack ( 'V' , strlen ( $ this -> zipdata ) ) // offset to start of central dir . "\x00\x00" ; // .zip file comment length }
Get the Zip file

@return	string	(binary encoded)
Get the Zip file