[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] reading from a text file



Hi there,

I have created a script that adds usernames and passwords to a 
text file. the text file looks like this....

james:fruit:james@djassociates.com:james:fox:0
steve:pass:steve@you.com:Steve:someone:0

Each user has their own line of text, with their username followed 
by a : then their password.

I want help in creating a login script whereby they login with their 
userID and password (which the script will check from this text file 
whether they are a valid username + pass) and then receive the 
rest of their details on their 'line' of text. (but no other line).

If anyone can offer advice on how to go about doing this, or has a 
script similar that they could share with me, It would be 
appreciated.
Thanks

James (Sheffield UK)

:: James Fox
:: DJ Associates
:: Tel: +44 (0)114 2210525
:: Fax: +44 (0)114 2493450

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org