The form file needs to be exported in the text file when the user submits the form. Exporting Username, Password, and Email in Text File with Form Data, Forgot Password
First of all, are you sure you want to write a username and password in just one file? If you do not protect properly and encode this file then this can be a big security distinction. See also the Stack Overflow question (and many similar questions on stack overflow, use the search box above) on .
He said, in this simplest form, you can only store more usernames (encrypted) passwords in the password file as a line, separated by some characters that are not in the user name so may. For example, the file might look like this:
Adam: fsSDFf34afdfgf43 bob: Djz3fdsDF67FSjFG
In PHP5 you use standard Fopen (), instead of fwrite (), Fclose () call
Comments
Post a Comment