Press "Enter" to skip to content

convert_uuencode

PHP convert_uuencode Function

PHP convert_uuencode function encodes a string using the uuencode algorithm in php script.

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

Example for PHP convert_uuencode Function

<?php
$str = “w3htmlschool”;
// Encode the string
$String1 = convert_uuencode($str);
echo $String1.'<br>’;

// Decode the string
$String2 = convert_uudecode($String1);
echo $String2;
?>