[PHP] uuencode

2002-02-15 Thread Michael Mehlmann

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?

thanks
Michi

-- 
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




Re: [PHP] uuencode

2002-02-15 Thread Mirek Novak

to convert take a look at http://www.php.net/manual/en/function.popen.php

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




Re: [PHP] uuencode

2002-02-15 Thread Michael Mehlmann

 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




RE: [PHP] uuencode

2002-02-15 Thread Rick Emery

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.

Now, what do you REALLY want to do??

-Original Message-
From: Michael Mehlmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 6:51 AM
To: [EMAIL PROTECTED]
Cc: Mirek Novak
Subject: Re: [PHP] uuencode


 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




RE: [PHP] uuencode

2002-02-15 Thread Michael Mehlmann

 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




RE: [PHP] uuencode

2002-02-15 Thread Rick Emery

Sorry...I missed it...I was thinking of urlencode().  Lack of sleep, I guess

I would suggest doing GOOGLE search for the uuencode algorithm and coding it
in PHP

-Original Message-
From: Michael Mehlmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 8:38 AM
To: Rick Emery
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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




RE: [PHP] uuencode

2002-02-15 Thread Michael Mehlmann

 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:[EMAIL PROTECTED]]
 Sent: Friday, February 15, 2002 8:38 AM
 To: Rick Emery
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php