i started to code my wallpaper website with php and i dont have a mysql database but i read somewhere that you can use files to stora data

how is that possible and how can i use files to store data and retrieve information from regular text files