Re: Package Proposal: File_MacBinary
| From: | Martin Jansen | Date: | Sat, 10 May 2003 09:28:46 +0000 |
| Subject: | Re: Package Proposal: File_MacBinary | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16096@lists.php.net to get a copy of this message | ||
On Fri May 09, 2003 at 08:3241PM -0500, Patrick O'Lone wrote:
> I've written a class that can extract the resource and data forks from a
> MacBinary file. It can also detect MacBinary files via a static method
> without the use of mime_content_type(). In addition, there are methods
> for outputting both the data and resource forks to disk. The resource
> fork can be returned as an array describing what data exists in the
> resource fork header.
>
> The package would be released on the PHP License. To view the source,
> see:
>
> http://www.townnews.com/contrib/MacBinary.html
Do you think that there will be a way to *write* this information into a
MacBinary file one day? In that case, your package should be either
prepared for that API-wise or it should be called File_MacBinary_Read.
Otherwise I'm +1 on this.
--
- Martin Martin Jansen
http://martinjansen.com/