System::&cat

System::&cat – Łączenie plików

Synopsis

require_once "System.php";

boolean System::&cat ( string $args )

Description

Łączy pliki. Metoda ta używa fopen(), więc można używać również adresu URL.

Parameter

  • string $args - argumenty

Return value

boolean - TRUE w przypadku powodzenia

Note

This function can be called statically.

Example

Użycie funkcji &cat()

<?php
$var 
System::cat('exemple.txt test.txt');
       
System::cat('exemple.txt test.txt > final.txt');
       
System::cat('exemple.txt test.txt >> final.txt');
?>