File write; if file does not exist it will attempt to create it, also it will write to the end of the file
$data = 'Some text';
$filename = 'file.html';
$open = fopen($filename, "a+");
fwrite($open, $data);
fclose($open);
File write; if file does not exist it will attempt to create...