landon: go forward

Date: Wed, 26 Feb 1997 15:00:08 -0400
From: "David J. Murdoch" <murdoch@chebucto.ns.ca>
To: CSuite Testing Reports <csuite-tech@chebucto.ns.ca>
Precedence: bulk

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


Results in:

Bad HTML!
                                                                      (p1 
of 4)

   . $DOCUMENT_ROOT/.cgi-funclib + . /var/csuite/info/.cgi-funclib #!
   /bin/sh ## cs-shlib - a library of shell functions for use from
   scripts CS_ROOT=/var/csuite ++ CS_ROOT=/var/csuite export CS_ROOT ++
   export CS_ROOT process_form_fields () { # Prints CGI FORM posted data
   in name = value pairs, # prepending the name with "cgi_" to ensure no
   critical # variables are overwritten if [ "${CONTENT_LENGTH:-0}" -gt 0
   ]; then eval `dd ibs=${CONTENT_LENGTH:-0} count=1 2>/dev/null | gawk
   'BEGIN { RS="&" ; FS="=" } { printf "cgi_%s=%c%s%c\n", $1, 39, $2,
   39}'` fi } process_query_string () { # process QUERY_STRING first so
   that form values override # # sanitize it first # if [ "$QUERY_STRING"
   = "" ]; then return fi IFS='&' set -- `echo "$QUERY_STRING" | sed
   's/[^\/.a-zA-Z0-9&=@%-]//g'` IFS=" " for i do case "$i" in *=*)
   IFS='=' set -- $i IFS=" " key=$1 value=$2 eval cgi_$key="\"$value\""
   ;; esac done } cs_html_foot() { case "$1" in "") : ;; "office") echo '
     _________________________________________________________________

   [1]IP Administration
   [2]Membership Administration
   [3]Office Administration


--
	David Murdoch



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