in reply to Password Popup help

It would help to know the environment in which the program will operate. Is it for a web app? a command-line app? an app under X/MS Win*/Mac/etc? These questions will dictate the manner in which a password would be requested.

Also, is there a particular reason you are using this scheme of a 6 number sum? If there is not, you may wish to look at the ability instead of using the crypt() function for instead creating a hashed password, which may be easier to remember than the 6 number set.

If you can provide a little more information as regards the first part, I would suspect there are several who may be able to offer applicable suggestions.

Replies are listed 'Best First'.
Re: Re: Password Popup help
by Dirty Luigi (Initiate) on May 16, 2004 at 01:58 UTC
    The program is for a window's program. I got the idea for the password thing from credit cards. Each company should have a set number, for secrurity.

      You have several options, when it comes to requesting the password under windows. In browsing around CPAN while reading your question, I found the following which I think might include functions for requesting a value that is concealed as it is typed. I won't say they will all do what you seek easily, but might prove useful.

      Hope that helps get you started, at least...