You're not explaining yourself very well.
You probably want to use the perl module CGI, but I already mentioned that, maybe you're talking about basic HTTP authentication?
| [reply] |
Actually our requirement(problem) is like this :
we have a script( say data update script which update data in database) which is present in linux box. script is hosted on Apache which is installed in same linux box.
we are executing the script in windows box .
who ever accessing or executing the script in windows box there name should be passed to script(which they are executing ) and the script have to update in database . To get user information we planned to use the login prompt. | [reply] |
Well, as somebody already said, there is HTTP basic authentication. This is configured in your Apache (see Apache auth howto for example). There are many other modules in Apache to get user/password information from a variety of sources (e.g. LDAP, Databases), if using htpasswd is not an option.
To do this with HTML, you'll need to use a form to request the user/password from the user and implement your session handling yourself. Searching for session handling with CGI and Perl in your favourite search engine should get you more than enough information to get you started...
| [reply] |