On Fri, 30 Mar 2001, Jon Rosenberg wrote:
> you could use flat files, another words store the user information in a text
> file like below:
> username|pass|email
> bob|fgffsdg|[EMAIL PROTECTED]
> foo|bar|[EMAIL PROTECTED]
>
>
> and then just read and write the file with PHP.
>
> Jon
Be sure to crypt the password you're saving in the file. Then you crypt the
passwords coming in to the script with the same salt (se function crypt in the
manual). Then compare the two and see if they differ from each other.
Good luck
--
Knut
------
Knut H. Hassel Nielsen
Principal Engineer / Avdelingsingeniør
Norwegian University of Science and Technology / NTNU
Department of Computer and Information Science / IDI
N-7491 Trondheim, Norway
Phone Office / Telefon jobb : (+47) 73 59 18 46
Fax Office / Telefax jobb : (+47) 73 59 17 33
Cell. Phone / Mobiltelefon : 91 59 86 06
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]