[Solved] How to write file as it is?


<?php
 $File = "new.txt"; //your text file
 $handle = fopen($File, 'w');
 fwrite($handle, '<?php '."\n".' echo "Hello World "; '."\n".'?>');
 ?>

5

solved How to write file as it is?