php fwrite
snippet in php

php fwrite

user2814


<?php

$file = fopen("test.txt","w");

echo fwrite($file,"Hello World. Testing!");

fclose($file);

?>