Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Feb 14, 2009 10:41 pm Post subject: Reading in raw file for base64 encoding |
|
|
Any ideas on how to read in a binary file for base64 encoding. I mean, right now I can using @read(), but then if I do that, any other base64 decoder will not decode the proper data, they'll end up with a text file of hex code instead of the binary file that it's suppose to be.
I've tried various things thus far, but I'm unable to get it right. I tried @read(TEXT), but only the first few chars of the encoded text are right.
Should note, I'm using PGWare's base64.dll for this.
Thanks in advance,
~Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|