PDA

View Full Version : Password. ?????? "Text File"


robertphipps
06-15-2004, 02:04 PM
I would like to set up a simple password system. I am no java programmer, in fact am learning by doing, therefore needs simple explanation of needs to be simple script.

I have a password script that is suitable, but the password is stored as html on the page and checked with an if command.

I would like to continue to use the if command, check a string instead.

I would like to make one text file per password person. The procedure would be as follows:

David ..... would call david.txt inside which would be his password.
Sarah ..... would call sarah.txt ... and so on.

The problem is how can I easily read the word in the text file into a string?

I would use this string in the if equation. e.g. if (the password entered by the person) = (the password stored in their text file), all is goog!"!

braggingrights4
01-03-2005, 06:04 PM
what do u want the password for each one to be?? And what is the name of the site u want this password program to go to???
i need this information in order to make u a password program and it will be encrypted if u like. If you want me to encrypt it as well i will.