• I AM AWESOME
    html_args() {
    qstring="${QUERY_STRING}"
    stdin=`cat`
    if [ -n "${stdin}" ]; then
    qstring="${stdin}&$qstring"
    fi

    for q in `echo $qstring | tr '&' ' '`; do
    name="${q%%=*}"
    value="${q##*=}"
    eval "export html_args_$name='${value}'"
    done
    }

Replies (1)