Example 6 :

This script encodes the file "C:\test\video.mpg" into multiple output encoded files. These resulting files ("video.001", "video.002", "video.003"...) will be saved in the directory "C:\test". Each target file (except the last one) will contain 10000 lines of encoded data.

<?php

// 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 want sevral output files with at maximum 10000 lines in each 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:\test\video.mpg', UU_ENCODED, 'C:\test\video.uue', 10000, true, true);

?>

Piscines en bois