jeudi 29 octobre 2015

Laravel 5 Reading and Writting Text Files

Hi am working on a Laravel 5 System. I need to open a text file let's say located on

/public/files/row.txt

in row.txt the only content is lets say

1344

And I want laravel to read that and get it then increament it by 1. So I it will be 1345. I want to do it inside a controller

Aucun commentaire:

Enregistrer un commentaire