RE: [PHP] uuencode
| From: | Michael Mehlmann | Date: | Fri, 15 Feb 2002 15:37:48 +0000 |
| Subject: | RE: [PHP] uuencode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84918@lists.php.net to get a copy of this message | ||
> Sorry...I missed it...I was thinking of urlencode(). Lack of sleep, I
> guess
and I thougth it was my lack of sleep ;-)
> I would suggest doing GOOGLE search for the uuencode algorithm and coding
> it
> in PHP
already done - found only a "non-binary-safe" coding!!
thanks
michi
>
> -----Original Message-----
> From: Michael Mehlmann [mailto:mailing_list@gmx.at]
> Sent: Friday, February 15, 2002 8:38 AM
> To: Rick Emery
> Cc: php-general@lists.php.net; mirek.novak@auto.cz
> Subject: RE: [PHP] uuencode
>
>
> > uuencode() is a function, not a process. You cannot read and write to
> it.
> > It takes a string and converts it. Then use uudecode() to translate it
> > back.
>
> it's the first time, I hear of this php-function (which version do you
> use).
> I use v4.0.6 and there isn't such a function!
> I only knew of the base64_encode and -_decode - function!
>
> > Now, what do you REALLY want to do??
>
> I want to save (binary) files as uuencoded-files!
>
>
> thanks
> michi
> > > to convert take a look at
> > http://www.php.net/manual/en/function.popen.php
> >
> > thanks, but you can only write OR read to popen()!!!!
> > but I need to write AND read to/from "uuencode"!!!
> >
> > thanks
> > michi
> >
> > > IMHO
> > > M.N.
> > > ---
> > >
> > > Michael Mehlmann wrote:
> > >
> > > >Hi!
> > > >
> > > >All I want is, to call my php with a URL in my querystring!
> > > >myphp.php?URL=http....
> > > >
> > > >my php should download the "URL", uuencode it, and then return the
> > > uuencoded
> > > >text!
> > > >as this should be binary-safe, it thought of using the linux-included
> > > >uuencode!
> > > >But how to get the (perhaps large binary) file and use uuencode like
> > > >"uuencode < input > output"?
> > > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> > --
> > GMX - Die Kommunikationsplattform im Internet.
> > http://www.gmx.net
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net