Code has been added to clipboard!

Creating PHP Files

Example
<?php
 $new_file = fopen('file.txt', 'w') or die('Cannot open the file!');
 $text = 'random things';
 fwrite($new_file, $text);
 fclose($new_file);
?>