Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $file_value = "file.txt";
- $file_handle = fopen($file_value, 'w') or die("can't open file");
- $input = "text to write";
- fwrite($file_handle, ($input));
- fclose($file_handle);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment