|

CFX_ODSWhoIs is an add-on DLL for ColdFusion that allows you to
insert WHOIS queries into your ColdFusion pages.
Download the latest version from ftp://ftp.hoot.com/pub/ods/cfx_odswhois/cfx_odswhois.zip
Try it here:
Installation
Copy the DLL onto your server and install according to the Macromedia
documentation for CFX installations.
Usage
<cfx_odswhois
DOMAIN="<domain to query>"
SERVER="<remote server>"
PORT="<remote server port>"
DELIMITER="<string delimiter>"
DIRECTOUTPUT="YES">
|
DOMAIN | this is the domain to query. (Required) |
|
SERVER | the remote server to query. Default is rs.internic.net |
|
PORT | port of the remote server. Default is 43 |
| DELIMITER | the lines of the results are separated by line feed
characters. This parameter allows you to replace the line feeds with another
character string (used only when DIRECTOUTPUT is YES). |
| DIRECTOUTPUT | Set this to YES to enable the CFX to write the
results of the WHOIS query to the HTTP stream (i.e. the results are displayed directly to
the browser). This is disabled by default. |
The tag returns two variables as follows:
|
ODSWHOIS | | This is a string containing the raw output from the WHOIS
query. You can parse the output for specific substrings. | |
ODSWHOIS_RESULT | | The CFX will attempt to determine if the selected
domain is available or not (this allows you to display to the user the status of a
domain). The possible values of this variable are:
| UNDETERMINED | The status could not be determined |
| AVAILABLE | The domain is available |
| TAKEN | The domain is taken |
| FAILED | The WHOIS query returned no output |
|
Example:
<CFX_ODSWHOIS DOMAIN="coolfusion.com"
DELIMITER="<BR>" DIRECTOUTPUT="YES">
NOTE: This software is provided as-is with no warranty whatsoever.
Please send all bug reports or feature requests to support@coolfusion.com
|