Thank you for choosing Eagles Nest to supply your Web/FTP hosting needs. All web accounts may make use of the programs in the public CGI-Bin directory (http://www.crosslink.net/cgi-bin/, which resides in /httpd/cgi-bin on the server.) In this document, we'll describe the available and supported CGI programs in that directory.
Methods
When a CGI program is accessed, the web browser uses one of two "methods" too access the server, called "POST" and "GET". Which method you should use depends on what you're doing with the CGI program.
GET: The GET method is prefered when you're accessing the CGI program via a link in your html document rather than via an html form. The input to a GET method program appears in the URL, following the "?".
POST:
The POST method is prefered when you're accessing the CGI program from
an html form. The input to a POST method program does not appear in the
URL box on your web browser.
Date is a CGI program which returns the date and time according to the web server.
Method:
GET
Example:
<A HREF="http://www.crosslink.net/cgi-bin/date">Check today's date.</A>
Finger:
Finger is a CGI gateway to the Unix "finger" protocol. Finger sometimes allows you to look up information about particular users.
Method:
GET
Example:
<A HREF="http://www.crosslink.net/cgi-bin/finger?herrin@minoc.why.com">Check
to see if the Webmaster is around.</A>
Nph-NsLookup:
Nslookup displays DNS information. If you'd like to know more about an Internet host name, try this.
Method:
GET
Example:
<A HREF="http://www.crosslink.net/cgi-bin/nph-nslookup?crosslink.net">Look
up CrossLink's domain.</A>
Uptime:
Uptime displays statistics about how long the server has been running, and what the current server load is.
Method:
GET
Example:
<A HREF="http://www.crosslink.net/cgi-bin/uptime">Check the server load.</A>
WhoIs:
Whois is a CGI program which allows you to query the Internic's database in order to find out if a domain name is available, and who owns it.
Method:
GET
Example:
<A HREF="http://www.crosslink.net/cgi-bin/whois?crosslink.net">Check
to see if crosslink.net is available.</A>
If you see this error when you try to use your CGI program, then something is wrong. What's wrong with it? Well, the message above is less than helpful in determining why the program failed.
To determine why your CGI program is failing to work, you should run it in debugging mode. To do so, add "/cgi-bin/debug" to the front of your CGI program's URL. This will cause the results to be displayed to you as plain text instead of HTML, and it will display any errors that the program reports.
So, for example, if you're calling a CGI program from an HTML form where the FORM tag looks like this:
<FORM METHOD= "POST" ACTION= "http://www.crosslink.net/cgi-bin/mailform" >
Then adjust the URL so that it looks like this:
<FORM METHOD= "POST" ACTION= "http://www.crosslink.net/cgi-bin/debug/cgi-bin/mailform" >
Other
useful tools: /cgi-bin/test-cgi tells you what variables have
been set for a GET method CGI program, and
/cgi-bin/post-query
tells you what variables have been submitted to a POST method CGI program.
To use the form, simply create a form with variable names which you've made up, use the method "POST", and set the action URL to http://www.crosslink.net/cgi-bin/mailform. In addition to the variables you want returned to you, your form must contain three others:
bouncto: The bounceto variable contains the full URL of the web page that should be displayed once the response from the form has been mailed to you.
mailto: The email variable contains the name part of your CrossLink email address. So, if your E-Mail address is someuser@crosslink.net, this variable should contains "someuser".
printem: The printem variable contains a comma seperated list of names of the variables whose contents you'd like to receive in the email message. So, if you want the contents of the "name" and "creditcard" variables, printem would contain, "name,creditcard".
email (optional): The email variable contains the full email address from whom the mail should appear to come. If not given, the mail will appear to come from httpd@crosslink.net.
Your
Name: <INPUT TYPE="text" NAME="name" SIZE=40><BR>
Credit
Card Number: <INPUT TYPE="text" NAME="card" SIZE=40><BR>
<INPUT
TYPE="hidden" NAME="mailto" VALUE="johndoe">
<INPUT
TYPE="hidden" NAME="bounceto" VALUE="http://www.crosslink.net/~johndoe/">
<INPUT
TYPE="hidden" NAME="printem" VALUE="name,card">
<INPUT
TYPE="SUBMIT" VALUE="Send It">
</FORM>
Home
| About Us
| Bulletin Board |
Bay
Fishing Reports | Contact
Us | Financial Links | Web
Mail
High
Speed DSL Services
| Hot Spots | Links
and More
| Local
Businesses
| News
| Online
Help
Our Rates
| Our Services
| Search
| Service
Area | Sign
Up Online
Tech
Support Form
| Tide
Tables
| Weather
| Web
Hosting