Documentation
append
usage
file->append( string txt )
paramètres
txt : the text to append at the end of the content of the file
exemples
include('../Kernel/common/file.class.php');
$file = new File('/media/shop.log');
$file->append("Order n°256 paid by Visa");
...
$file->append("Order n°256: sending confirmation email");