frugal: namedb

Date: Thu, 20 Mar 1997 23:34:49 -0400
From: James Fifield <fifield@ug.cs.dal.ca>
To: csuite-tech@chebucto.ns.ca
Precedence: bulk

next message in archive
next message in thread
previous message in archive
previous message in thread
Index of Subjects

Index of Subjects
On Thu, 20 Mar 1997, David J. Murdoch wrote:

> Not for a change now necessarily, but should "Edit Namedb record" have
> a "Clear the Form" option. Could result in damage if mistakenly used.
> (Viewing frugal:/var/test/csuite/etc/cgi-membin/namedbedit)
> --
> 	David Murdoch

I'm just looking at the script now, and the script in the distribution 
has this already.  Here's the form (I think):

echo '
<FORM METHOD="POST" ACTION="'"$CGI_PREFIX"'/cgi-membin/namedbupdate?LOGIN='"$cgi_LOGIN"'"><br>
'
        dbrecord=`login2dir $cgi_LOGIN`
        username=`gawk -F'|' ' /^fullname/ { print $2 } ' $CS_NAMEDB/$dbrecord `
        echo $"<em b>User Name: $username</em><br>"
        getdbinfo $CS_NAMEDB/$dbrecord
        echo $"<hr><INPUT TYPE=\"submit\" VALUE=\"Process Account\"><br>
<INPUT TYPE=\"reset\" VALUE=\"Clear the Form\">
</FORM>"


--
James Fifield <fifield@ug.cs.dal.ca>

 ** Fatal Error [1]: 'Win95' virus detected on /dev/hda1; Formatting ...




next message in archive
next message in thread
previous message in archive
previous message in thread
Index of Subjects