PHP File Handling – CRUD

Quick tips, how to work with basic filesystem in PHP. Create a File (implicitly creates file): $my_file = 'file.txt'; $handle = fopen($my_file, 'w') or die('Cannot open file: '.$my_file); Open a File (open file for writing...

Continue reading