Jump to: navigation, search

Php convert uuencode

From w3cyberlearnings

Contents

PHP function convert_uuencode

This function encodes or converts a string with Uuencode algorithm. The Uuencoded data is about 35% larger than the origional data. For additional knowledge, please check: http://en.wikipedia.org/wiki/Uuencoding

Syntax convert_uuencode

  • String: String input
convert_uuencode(string)

Note

This function is not secured for password encryption. If you want to use a more secure function, please check out md5() or sha1() function.

Example 1

<?php
$str = "abc";

echo convert_uuencode($str);
?>

Output

#86)C `

Example 2

<?php
$str = "Greatly\nLovely Girl\r\n";

echo convert_uuencode($str);
?>

Output

51W)E871L>0I,;W9E;'D@1VER;`T* `

Related Functions


Navigation
Web
SQL
MISC
References