garpike file_get_contents ve file_put_contents fonksiyonları ile yapabilirsiniz.