Thursday, 25 September 2014

convert_uuencode in PHP

The PHP convert_uuencode() function is utilized to returns a uuencoded string using the uuencode algorithm.

Syntax:

convert_uuencode(string)
 
Parameter Description: 
string : Required.The input uuencode string.

Note: uuencode interprets all strings (counting binary's ones) into printable characters, making them protected for network transmissions. uuencoded information is about 35% bigger than the original.  

Example:

<?php 
$str = "Good Morning!";
echo convert_uuencode($str); 
?>

The output will be:

-1V]O9"!-;W)N:6YG(0`` `

0 comments:

Post a Comment