RE: How to create a text file in php?

how to create and write to a file on the server or on the system?

dip Team Leader Asked on February 11, 2017 in PHP.
Add Comment
1 Answers
 $myfile = fopen("test.txt", "w") ;
 $string= "Aviance Forums";
 fwrite($myfile, $string);
Team Leader Answered on March 19, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.