Php convert uudecode
From w3cyberlearnings
Contents |
PHP function convert_uudecode
This function decodes the Uuencode data back to string. For additional knowledge, please check: http://en.wikipedia.org/wiki/Uuencoding
Syntax convert_uudecode
- data: uuencode data
convert_uudecode(string);
Note
Check out convert_uuencode() function for encode that uses uuencoding algorithm.
Example 1
<?php $str = "abc"; $uuecod = convert_uuencode($str); echo 'UUencode: ' . $uuecod; echo "<br/>"; $decodeuu = convert_uudecode($uuecod); echo 'UUdecode: ' . $decodeuu; echo "<br/>"; ?>
Output
UUencode: #86)C ` UUdecode: abc