RE: [PHP] uuencode
| From: | Michael Mehlmann | Date: | Fri, 15 Feb 2002 14:37:51 +0000 |
| Subject: | RE: [PHP] uuencode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84907@lists.php.net to get a copy of this message | ||
> 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