/*
int file_put_contents ( string $filename , mixed $data [, int $flags = 0
[, resource $context ]] )
*/
// FILE_APPEND - append the content to the end of the file
// LOCK_EX - prevent anyone else writing to the file at the same time
// The file_put_contents() function is the same as calling fopen(), fwrite() and fclose()
file_put_contents("e:/test.txt", " New Text", FILE_APPEND | LOCK_EX);
/*
run:
*/