Definition
The convert_uuencode() function encodes a string using the uuencode algorithm.
Syntax
convert_uuencode(string)
Parameters
Parameter | Description |
---|---|
string |
Required. The string to uuencode. |
Example
<?php
$str = "Welcome to PHP Tutorials!";
// Encode the string
$encodedString = convert_uuencode($str);
echo $encodedString . "<br>";
// Decode the string
$decodedString = convert_uudecode($encodedString);
echo $decodedString;