Example 4 :
This example does the same as the third one but it only uses one function. This is the special function named
php_quick_uuencode. It calls internally all the functions that were called explicitly in the example 3.
// We define the source file (first parameter).
// We indicate that we want to code the file with the uu_encoded format (second parameter).
// We indicate the destination file (parameter three).
// We indicate that we only want one output file (parameter four).
// We indicate that the function can overwrite existing files (parameter five).
// We indicate that the function must call the message callback function defined internally (last parameter).
php_quick_uuencode ('C:\02 - after decoding\ST.gif', UU_ENCODED, 'C:\01 - before decoding\ST.uue', 0, true, true);