Feature Request - encoding/decoding mail and nntp attachements

php.internals

exo ludo

22 years ago
Hi, Im lookin for encoding/decoding base64 (and Yenc) attachements in my mail and NNTP programs. After having tested several PHP classes (ex: yEnc PHP Class - http://wonko.com/yenc/), I think PHP should integrate natively base64 and Yenc support. I found a very good library to do that : uudeview (www.fpx.de/fp/Software/UUDeview/). Is possible to compile it as an extension ? Regards, L. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com

J Smith

22 years ago
Exo ludo wrote:
> Hi, > > Im lookin for encoding/decoding base64 (and Yenc) > attachements in my mail and NNTP programs. After > having tested several PHP classes (ex: yEnc PHP Class > - http://wonko.com/yenc/), I think PHP should > integrate natively base64 and Yenc support.
PHP already has base64 en/decoding. See the manual under base64_encode. I haven't seen any native yEnc extensions, though.
> > I found a very good library to do that : uudeview > (www.fpx.de/fp/Software/UUDeview/). Is possible to > compile it as an extension ? >
Sure, but you'd have to write a wrapper for it, of course. It's GPL'd, though, so be careful about distribution. J