Hi guys,
I'm running a Linux box with Apache, having a good time learning with it but I'm stuck on the following:
I'd like to have a simple test webpage that has a username field and password field. If the user enters their username and password for the first time they will be saved to a text (or some other type) file on the server. If they enter their name and password after having been once already the server will parse the previously recorded username and password in the log (text) file and display a "welcome back" message.
Basically before any of this functionality if I could just get an input box that the user types some text, hits submit and the data is saved to a text file I would be happy.
I've looked at xml, xhtml, PHP, cgi/perl scripts, and a few others so far. I think PHP would do what I need, but is it the best choice? Or is there something better/easier to use? I feel like I'm adrift in the massive ocean that is webpage development.
Any suggestions would be great!
I'm running a Linux box with Apache, having a good time learning with it but I'm stuck on the following:
I'd like to have a simple test webpage that has a username field and password field. If the user enters their username and password for the first time they will be saved to a text (or some other type) file on the server. If they enter their name and password after having been once already the server will parse the previously recorded username and password in the log (text) file and display a "welcome back" message.
Basically before any of this functionality if I could just get an input box that the user types some text, hits submit and the data is saved to a text file I would be happy.
I've looked at xml, xhtml, PHP, cgi/perl scripts, and a few others so far. I think PHP would do what I need, but is it the best choice? Or is there something better/easier to use? I feel like I'm adrift in the massive ocean that is webpage development.
Any suggestions would be great!