PHP - Permanently changing array values

538 views Asked by At

The title may explain the gist of it, but I want to know something. I am new to coding in PHP, and am adding it alongside my HTML5 so I can create a website for a game I'm creating. But, I need to know if I can permanently and dynamically change the contents of a file within an FTP.

So, say if I had 2 array values in a Username and Password field when I first created it. Is there any possible way to create a function that, upon registering information, allows me to permanently add those array values, so that every time I open the file, it stays at three values?

I want to do this so that I have a simple login system created. If there are any questions that have what I'm looking for in PHP, feel free to close as a duplicate and point me in the right direction. This is my first step, and I hope I can get some help on it. Thanks again in advance.

0

There are 0 answers