Re: [PHP] Re: How to ENCODE quoted_printable

2001-09-17 Thread Stefan Rusterholz

Hmmm,
thank you but this:
Fatal error:  Call to undefined function:  imap_8bit()
seems to show me that my php has no imap support :-/

So, is there another way?

Best regards
Stefan Rusterholz


- Original Message -
From: "Martin Pavlas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 5:01 PM
Subject: [PHP] Re: How to ENCODE quoted_printable


> HI,
>
> > I'm searching for an easy and 100% correctly working way to encode some
text in quoted_printable.
> > PHP has an easy and handy function for decoding quoted_printable, but
unfortunately there doesn't seem to be an encoding function.
> > I saw that someone has written such a function in the comments of the
online documentation. Does it work correct?
>
> imap_8bit --  Convert an 8bit string to a quoted-printable string. But
> you nedd PHP with IMAP support.
>
> > By the way: with wich encoding should I encode picture-data for e-mails?
base64 works, but with about 33% more space it doesn't seem to me to be the
very best solution :(
>
> Base64 works fine. And I think it is the only best solution now :-)))
>
> --
> Martin Pavlas
> ParsCom IS s.r.o.
> http://www.parscom.cz
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: How to ENCODE quoted_printable

2001-09-17 Thread Martin Pavlas

HI,

> I'm searching for an easy and 100% correctly working way to encode some text in 
>quoted_printable.
> PHP has an easy and handy function for decoding quoted_printable, but unfortunately 
>there doesn't seem to be an encoding function.
> I saw that someone has written such a function in the comments of the online 
>documentation. Does it work correct?

imap_8bit --  Convert an 8bit string to a quoted-printable string. But
you nedd PHP with IMAP support.

> By the way: with wich encoding should I encode picture-data for e-mails? base64 
>works, but with about 33% more space it doesn't seem to me to be the very best 
>solution :(

Base64 works fine. And I think it is the only best solution now :-)))

-- 
Martin Pavlas
ParsCom IS s.r.o.
http://www.parscom.cz

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]