X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

PHP convert_uudecode() Function

PHP String Reference PHP String Reference

Example

Decode a uuencoded string:

<?php
$str = ",2&5L;&\@=V]R;&0A `";
echo convert_uudecode($str);
?>

Run example »

Definition and Usage

The convert_uudecode() function decodes a uuencoded string.

This function is often used together with the convert_uuencode() function.


Syntax

convert_uudecode(string)

Parameter DDescription
string Required. The uuencoded string to decode

Technical Details

Return Value: Returns the decoded data as a string
PHP Version: 5+


More Examples

Example 1

Encode a string and then decode it:

<?php
$str = "Hello world!";
// Encode the string
$encodeString = convert_uuencode($str);
echo $encodeString . "<br>";

// Decode the string
$decodeString = convert_uudecode($encodeString);
echo $decodeString;
?>

Run example »


PHP String Reference PHP String Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook