System::&cat -- concatenate files
Description
Concatenate files. The method uses fopen(),
URLs should work too.
Return value
boolean - TRUE on success
Note
This function can be called
statically.
Example
Example 26-1. Using &cat() $var = System::cat('sample.txt test.txt');
System::cat('sample.txt test.txt > final.txt');
System::cat('sample.txt test.txt >> final.txt'); |
|