PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm taking a web server class and for our last project we need to write a php program that takes information off of a form and adds it to a text file. We are inputting user ids and passwords adding them to the file and then letting users change the passwords if they so desire.
I am new to PHP and don't have time to read a book before this project is due. I know how to open a file and read from it, but how do I write information to it and save the file?
And if I want to check for information and then change it, is there an easy way to do it?
Thanks very much. I really want to learn PHP, and I guess I am getting a crash course. This project was just assigned and is due in 8 days. I had no background in PHP before this and I'm picking it up as fast as I can.
I wish I had such a class that made me do an assignment like that!
Well classes are not completely implemented in PHP it's just slowing down your code, furthermore your project is not such a complex thing to write tons of classes code.
I wish I had such a class that made me do an assignment like that!
Well classes are not completely implemented in PHP it's just slowing down your code, furthermore your project is not such a complex thing to write tons of classes code.