How to create text file (an empty file) in PHP

1 Answer

0 votes
$f = fopen("e:\datefile.txt", "w") 

// Note: If the file exist, the content will be erased 

/*
run:

2

*/

 



answered Dec 3, 2015 by avibootz
edited Dec 5, 2015 by avibootz
...