PHP file creation

Главная » Blog » PHP file creation

Write information to text file with php functions.

$file = 'text.txt';
$data = "111";
$fp = fopen($file, "a+");
fwrite($fp, $data);
fclose($fp);

Pin It on Pinterest

Share This