★ wanayoo — archive 1999 http://fr.php.net/manual/de/function.convert-uuencode.phpNouvelle recherche | Portail wanayoo
PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<convert_uudecodecount_chars>
view the version of this page
Last updated: Tue, 22 Nov 2005

convert_uuencode

(PHP 5)

convert_uuencode --  UU-kodiert eine Zeichenkette

Beschreibung

string convert_uuencode ( string data )

convert_uuencode() verschlüsselt eine Zeichenkette unter Verwendung des UUencode Algorithmus (Unix-to-Unix Verschlüsselung).

Die Unix-zu-Unix Verschlüsselung wandelt alle Zeichenketten (auch binäre) in druckbare Zeichen, um ihre korrekte Übermittlung ueber ein Netzwerk sicher zu stellen. UU-kodierte Daten sind etwa 35 % länger als ihr Original.

Beispiel 1. convert_uuencode() Beispiel

<?php
$eine_zeichenkette
= "test\ntext text\r\n";

echo
convert_uuencode($some_string);
?>

Siehe auch convert_uudecode() und base64_encode().



add a note add a note User Contributed Notes
convert_uuencode
aidan at php dot net
29-May-2005 05:51
This functionality is now implemented in the PEAR package PHP_Compat.

More information about using this function without upgrading your version of PHP can be found on the below link:

http://pear.php.net/package/PHP_Compat
Craig at frostycoolslug dot com
09-Aug-2004 04:15
This function can be useful if you wish to store files in a MySQL database, it will save any problems with obscure binary data breaking the queries.

just remember to convery-uudecode before you try to use the data again.

(A common example of something that uses this system, would be email attachments)

<convert_uudecodecount_chars>
 Last updated: Tue, 22 Nov 2005
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This mirror generously provided by: nexen.net
Last updated: Fri Nov 25 05:26:29 2005 CET