I deleted the mail for someone who was requesting a Web interface to
whois.  There are two ways.  The easiest would be http://bw.org/whois/ which
provides a built in CGI abity in perl.  The second would be to extend a CGI
script using Net::Whois.

>From the whois perl at bw.org documentation:

Automatic CGI Support

    BW whois works as a CGI program without modification. You can
    create your own look by using an external HTML file named
    whois.html, but that is completely optional. It works fine as-
    is.

    The external HTML file will need a few simple "placeholders" in
    it. The placeholders are replaced at runtime with the various
    values which make this work. These placeholders are represented
    by text enclosed in '$' signs like this: $PLACEHOLDER$

    The placeholders are described here:

    $SELF$
        The URI path of the program on your web server, taken from
        the value of the SCRIPT_NAME environment variable.

    $DOMAIN$
        The domain that was last looked up, if any.

    $RESULT$
        The result of the whois query from BW whois.

    To supress the disclaimer text in the output (like --
    stripheader) add a hidden field named stripheadere like this:

    `<input type=hidden name=stripheader value=1>'

    You can get an example file from the program with:

    `whois --makehtml > whois.html'


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to