Posted By

onefastsnail on 05/24/12


Tagged


Versions (?)

write to file


 / Published in: PHP
 

  1. <?php
  2. $text=("Hello World, Please Replace Me!");
  3. $write_to_file=fopen("SimpleTextFile.txt","a");
  4. fwrite($write_to_file,$text);
  5. fclose($write_to_file);
  6. echo ("File successfully written");
  7. ?>

Report this snippet  

You need to login to post a comment.