Hope this helps ... you can run this from the command line then enter
"Ctrl+d" to see what is generates... I'm sure there are other ways of doing
this ...
You make wish to check the permissions on /etc/password at your shop ..
use CGI;
$q->new CGI;
while (($name,undef,$uid)= getpwent) {
$PASSWD{$uid}=$name;
push @passwd_values, $uid;
}
print $q->popup_menu(-name=>"list",-values=>\@passwd_values,
-labels=>\%PASSWD)
-----Original Message-----
From: sendmail [mailto:[EMAIL PROTECTED]]
Sent: August 07, 2001 01:00
To: [EMAIL PROTECTED]
Subject: popup-menue in a html-page
hi list,
I got this problem:
I want to take all my user names from /etc/password and show them on a
html-page with a popup-menu.
this way the admin should be able to choose one of the user for another
action like deleting the user, renaming him ...
please help me with this popup, perhaps I should use cgi.pm?
--
peter grotz
rehberger architekten
schertlinstr 23
86 159 augsburg
tel 0821 25980-29
fax 0821 25980-20
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]