convert_uuencode

PHP -> Funkcie -> Funkcie pre prácu s reťazcami PHP -> convert_uuencode

Syntax

string convert_uuencode ( string data )

Popis

Príkaz jazyka PHP
convert_uuencode -- Uuencode a string

convert_uuencode() encodes a string using the uuencode algorithm.

Uuencode translates all strings (including binary's ones) into printable characters, making them safe for network transmissions. Uuencoded data is about 35% larger than the original.

Príklad

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

echo convert_uuencode($some_string);
?>


Pozri aj

convert_uudecode, base64_encode