File handling in php

please make a video if i dont want to use dbms and store form data in a text file in server.
Fwrite/fopen/

what is file handling how many type of file handling