Easy Tutorial
❮ Php Form Required Func Filesystem Fopen ❯

PHP convert_uuencode() Function

PHP String Reference Manual

Example

Encode a string:


Definition and Usage

The convert_uuencode() function encodes a string using the uuencode algorithm.

Note: This function encodes all strings (including binary) into printable characters, ensuring safe storage in databases and secure transmission over networks. Remember to use the convert_uudecode() function before reusing the data.

Note: Uuencoded data is approximately 35% larger than the original data.


Syntax

Parameter Description
string Required. Specifies the string to be uuencoded.

Technical Details

Return Value: Returns the uuencoded data.
PHP Version: 5+
--- ---

More Examples

Example 1

Encode a string and then decode it:


❮ Php Form Required Func Filesystem Fopen ❯